[Qemu-devel] Re: [PATCH 2/2] ahci: delete write-only variables (v2)

2010-12-19 Thread Blue Swirl
Thanks for the ack, applied. On Sat, Dec 18, 2010 at 8:10 PM, Alexander Graf wrote: > > On 18.12.2010, at 21:00, Blue Swirl wrote: > >> Avoid these warnings with GCC 4.6.0: >> /src/qemu/hw/ide/ahci.c: In function 'ahci_reset_port': >> /src/qemu/hw/ide/ahci.c:810:14: error: variable 'tfd' set but

[Qemu-devel] Re: [PATCH 2/2] ahci: delete write-only variables (v2)

2010-12-18 Thread Alexander Graf
On 18.12.2010, at 21:00, Blue Swirl wrote: > Avoid these warnings with GCC 4.6.0: > /src/qemu/hw/ide/ahci.c: In function 'ahci_reset_port': > /src/qemu/hw/ide/ahci.c:810:14: error: variable 'tfd' set but not used > [-Werror=unused-but-set-variable] > /src/qemu/hw/ide/ahci.c: In function 'handle_c