summaryrefslogtreecommitdiff
path: root/target-ppc
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-10-13 18:38:08 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-10-13 18:43:17 +0000
commit2ded6ad761613e01d4690f290771961ba690d17e (patch)
tree17b3a32737aaad0d0ca68274b2e32e10fb95fe92 /target-ppc
parent03e654c083e4a26a57423dbaf251f649d3250c92 (diff)
downloadqemu-2ded6ad761613e01d4690f290771961ba690d17e.tar.gz
vnc: avoid write only variables
Compiling with GCC 4.6.0 20100925 produced warnings: /src/qemu/ui/vnc.c: In function 'vnc_client_cache_auth': /src/qemu/ui/vnc.c:217:12: error: variable 'qdict' set but not used [-Werror=unused-but-set-variable] /src/qemu/ui/vnc.c: In function 'vnc_display_open': /src/qemu/ui/vnc.c:2526:9: error: variable 'acl' set but not used [-Werror=unused-but-set-variable] Fix by making the variable declarations and their uses also conditional to debug definition. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-ppc')
0 files changed, 0 insertions, 0 deletions