]> git.proxmox.com Git - qemu.git/commit - target-cris/translate_v10.c
cris: avoid a write only variable
authorBlue Swirl <blauwirbel@gmail.com>
Wed, 13 Oct 2010 18:38:08 +0000 (18:38 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Wed, 13 Oct 2010 18:42:35 +0000 (18:42 +0000)
commit03e654c083e4a26a57423dbaf251f649d3250c92
tree0ae4f2b921add75dc254b779ba2dc7b9373cce6f
parent49a2942d9be0b08aed3e63901561745378ea5e4f
cris: avoid a write only variable

Compiling with GCC 4.6.0 20100925 produced a warning:
In file included from /src/qemu/target-cris/translate.c:3154:0:
/src/qemu/target-cris/translate_v10.c: In function 'dec10_prep_move_m':
/src/qemu/target-cris/translate_v10.c:111:22: error: variable 'rd' set but not used [-Werror=unused-but-set-variable]

Fix by deleting rd, adjust the only user.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-cris/translate_v10.c