aboutsummaryrefslogtreecommitdiff
path: root/target-sparc/op_helper.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-12-19 10:43:09 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-12-19 10:43:09 +0000
commitcdfe17df88b335269ddabc7ade7a6148a1a20f0d (patch)
treec0ce20ad4aa3435b5c8d10d0adaae5525ff15c93 /target-sparc/op_helper.c
parent6a0ee36a47f5b0d090316fe10ceada83136338da (diff)
downloadqemu-cdfe17df88b335269ddabc7ade7a6148a1a20f0d.zip
qemu-cdfe17df88b335269ddabc7ade7a6148a1a20f0d.tar.gz
qemu-cdfe17df88b335269ddabc7ade7a6148a1a20f0d.tar.bz2
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 'target-sparc/op_helper.c')
0 files changed, 0 insertions, 0 deletions