xemu/target-ppc
Blue Swirl 577f25a5eb 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>
2010-10-13 18:43:20 +00:00
..
cpu.h ppc: remove video.x 2010-10-13 18:38:07 +00:00
exec.h move cpu_pc_from_tb to target-*/exec.h 2010-07-03 09:48:12 +03:00
helper_regs.h Replace always_inline with inline 2009-08-16 09:06:54 +00:00
helper.c ppc: remove video.x 2010-10-13 18:38:07 +00:00
helper.h target-ppc: add vexptefp instruction 2010-07-13 18:18:32 +02:00
kvm_ppc.c kvm ppc: Remove unused label 2009-11-12 11:23:55 -06:00
kvm_ppc.h KVM: PPC: Add level based interrupt logic 2010-09-05 11:50:48 +02:00
kvm.c KVM: PPC: Add level based interrupt logic 2010-09-05 11:50:48 +02:00
machine.c KVM: Rework VCPU state writeback API 2010-03-04 00:29:28 -03:00
mfrom_table_gen.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
mfrom_table.c find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
op_helper.c ppc: avoid write only variables 2010-10-13 18:43:20 +00:00
STATUS Update PowerPC emulation status file. 2007-10-25 21:38:16 +00:00
translate_init.c powerpc: Add a ppc-440x5 Xilinx model 2010-09-30 18:53:26 +02:00
translate.c PPC: Enable hint bits for lwarx/ldarx 2010-09-15 16:18:27 +02:00