diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-10-13 18:38:08 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-10-13 18:43:17 +0000 |
commit | 2ded6ad761613e01d4690f290771961ba690d17e (patch) | |
tree | 17b3a32737aaad0d0ca68274b2e32e10fb95fe92 /bt-host.c | |
parent | 03e654c083e4a26a57423dbaf251f649d3250c92 (diff) |
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 'bt-host.c')
0 files changed, 0 insertions, 0 deletions