diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-10-13 18:38:08 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-10-13 18:43:20 +0000 |
commit | d9895452f0c090eeac80ea6fce0b188f2ad42a5f (patch) | |
tree | 5ce6779849319e46d53a70cee5c41359cb9efbf8 /target-mips | |
parent | 3b5c1a004e79056e5e0f6afa2db0d374ce741c7d (diff) | |
download | qemu-d9895452f0c090eeac80ea6fce0b188f2ad42a5f.tar.gz qemu-d9895452f0c090eeac80ea6fce0b188f2ad42a5f.tar.bz2 qemu-d9895452f0c090eeac80ea6fce0b188f2ad42a5f.zip |
ppc: avoid write only variables
Compiling with GCC 4.6.0 20100925 produced warnings:
/src/qemu/target-ppc/op_helper.c: In function 'helper_icbi':
/src/qemu/target-ppc/op_helper.c:351:14: error: variable 'tmp' set but not used [-Werror=unused-but-set-variable]
/src/qemu/target-ppc/op_helper.c: In function 'do_6xx_tlb':
/src/qemu/target-ppc/op_helper.c:3805:28: error: variable 'EPN' set but not used [-Werror=unused-but-set-variable]
/src/qemu/target-ppc/op_helper.c: In function 'do_74xx_tlb':
/src/qemu/target-ppc/op_helper.c:3838:28: error: variable 'EPN' set but not used [-Werror=unused-but-set-variable]
Fix by adding a dummy cast so that the variable is not unused. Delete tmp.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-mips')
0 files changed, 0 insertions, 0 deletions