Re: [Qemu-devel] Re: [PATCH 11/11] mips: avoid write only variables

2010-10-07 Thread Markus Armbruster
Paolo Bonzini writes: > On 10/06/2010 11:34 PM, Blue Swirl wrote: >> Compiling with GCC 4.6.0 20100925 produced a lot of warnings like: >> /src/qemu/target-mips/translate.c: In function 'gen_ld': >> /src/qemu/target-mips/translate.c:1039:17: error: variable 'opn' set >> but not used [-Werror=unus

[Qemu-devel] Re: [PATCH 11/11] mips: avoid write only variables

2010-10-07 Thread Paolo Bonzini
On 10/06/2010 11:34 PM, Blue Swirl wrote: Compiling with GCC 4.6.0 20100925 produced a lot of warnings like: /src/qemu/target-mips/translate.c: In function 'gen_ld': /src/qemu/target-mips/translate.c:1039:17: error: variable 'opn' set but not used [-Werror=unused-but-set-variable] Fix by making