Blue Swirl 2ded6ad761 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>
2010-10-13 18:43:17 +00:00
..
2010-09-21 18:36:43 +02:00
2010-09-21 18:36:42 +02:00
2010-09-21 18:36:43 +02:00
2010-09-21 18:36:43 +02:00
2010-09-21 18:36:43 +02:00
2010-10-05 13:53:56 -05:00
2010-07-26 17:36:14 -05:00
2010-07-26 17:36:14 -05:00
2010-07-26 17:36:14 -05:00
2010-07-26 17:36:14 -05:00
2010-10-13 18:43:17 +00:00
2010-07-26 17:36:14 -05:00