summary refs log tree commit diff stats
path: root/hw/apic.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-10-13 18:38:08 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-10-13 18:43:20 +0000
commit577f25a5eb2b1b3338fe03d31c6e87da5ce29e7c (patch)
tree5ce6779849319e46d53a70cee5c41359cb9efbf8 /hw/apic.c
parent4581cbcdc3c70fa94c729da7e25c6a152936cfd3 (diff)
downloadfocaccia-qemu-577f25a5eb2b1b3338fe03d31c6e87da5ce29e7c.tar.gz
focaccia-qemu-577f25a5eb2b1b3338fe03d31c6e87da5ce29e7c.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 'hw/apic.c')
0 files changed, 0 insertions, 0 deletions