[Qemu-devel] Re: [PATCH] ppc: remove a write-only variable

2011-04-11 Thread Alexander Graf
On 11.04.2011, at 06:30, David Gibson wrote: > On Sat, Apr 09, 2011 at 05:28:06PM +0200, Alexander Graf wrote: >> >> >> >> >> Am 09.04.2011 um 16:56 schrieb Blue Swirl : >> >>> Remove a write-only variable, spotted by GCC 4.6.0: >>> /src/qemu/hw/ppc.c: In function 'power7_set_irq': >>> /src/

[Qemu-devel] Re: [PATCH] ppc: remove a write-only variable

2011-04-10 Thread David Gibson
On Sat, Apr 09, 2011 at 05:28:06PM +0200, Alexander Graf wrote: > > > > > Am 09.04.2011 um 16:56 schrieb Blue Swirl : > > > Remove a write-only variable, spotted by GCC 4.6.0: > > /src/qemu/hw/ppc.c: In function 'power7_set_irq': > > /src/qemu/hw/ppc.c:255:9: error: variable 'cur_level' set bu

[Qemu-devel] Re: [PATCH] ppc: remove a write-only variable

2011-04-09 Thread Alexander Graf
Am 09.04.2011 um 16:56 schrieb Blue Swirl : > Remove a write-only variable, spotted by GCC 4.6.0: > /src/qemu/hw/ppc.c: In function 'power7_set_irq': > /src/qemu/hw/ppc.c:255:9: error: variable 'cur_level' set but not used > [-Werror=unused-but-set-variable] > > Signed-off-by: Blue Swirl > -