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

2011-04-11 Thread Blue Swirl
On Mon, Apr 11, 2011 at 10:48 AM, Alexander Graf wrote: > > 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:

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

2011-04-09 Thread 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 --- hw/ppc.c |2 -- 1 files changed, 0 insertions(+), 2 del