qemu-e2k/hw/ide
Blue Swirl cdfe17df88 ahci: delete write-only variables (v2)
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_cmd':
/src/qemu/hw/ide/ahci.c:1103:19: error: variable 'pr' set but not used [-Werror=unused-but-set-variable]

In the tfd variable case, fix the logic also.

CC: Alexander Graf <agraf@suse.de>
CC: Kevin Wolf <kwolf@redhat.com>
Acked-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2010-12-19 10:43:09 +00:00
..
ahci.c ahci: delete write-only variables (v2) 2010-12-19 10:43:09 +00:00
cmd646.c ide: Fix build for cmd646.c 2010-12-17 19:57:21 +01:00
core.c
internal.h
isa.c
macio.c
microdrive.c
mmio.c
pci.c
pci.h
piix.c ide: Register vm change state handler once only 2010-12-17 16:11:03 +01:00
qdev.c
via.c ide: Build fix for via.c 2010-12-17 19:57:26 +01:00