summaryrefslogtreecommitdiffstats
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorBlue Swirl2010-12-19 11:43:09 +0100
committerBlue Swirl2010-12-19 11:43:09 +0100
commitcdfe17df88b335269ddabc7ade7a6148a1a20f0d (patch)
treec0ce20ad4aa3435b5c8d10d0adaae5525ff15c93 /hmp-commands.hx
parentvga: Declare as little endian (diff)
downloadqemu-cdfe17df88b335269ddabc7ade7a6148a1a20f0d.tar.gz
qemu-cdfe17df88b335269ddabc7ade7a6148a1a20f0d.tar.xz
qemu-cdfe17df88b335269ddabc7ade7a6148a1a20f0d.zip
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>
Diffstat (limited to 'hmp-commands.hx')
0 files changed, 0 insertions, 0 deletions