qemu-e2k/ui
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
..
cocoa.m ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
curses_keys.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
curses.c ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
d3des.c ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
d3des.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
keymaps.c ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
keymaps.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
qemu-spice.h spice: simple display 2010-09-21 18:36:43 +02:00
sdl_keysym.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
sdl_zoom_template.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
sdl_zoom.c ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
sdl_zoom.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
sdl.c win32: Avoid compiler warning (WIN32_LEAN_AND_MEAN redefined) 2010-08-15 09:46:12 +00:00
spice-core.c spice: add keyboard 2010-09-21 18:36:42 +02:00
spice-display.c spice: add tablet support 2010-09-21 18:36:43 +02:00
spice-display.h spice: simple display 2010-09-21 18:36:43 +02:00
spice-input.c spice: add tablet support 2010-09-21 18:36:43 +02:00
vnc_keysym.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
vnc-auth-sasl.c ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
vnc-auth-sasl.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
vnc-auth-vencrypt.c ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
vnc-auth-vencrypt.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
vnc-enc-hextile-template.h vnc: rename vnc-encoding-* vnc-enc-* 2010-07-26 17:36:13 -05:00
vnc-enc-hextile.c vnc: encapsulate encoding members 2010-07-26 17:36:14 -05:00
vnc-enc-tight.c Fix spelling in comments 2010-10-05 13:53:56 -05:00
vnc-enc-tight.h vnc: tight add PNG encoding 2010-07-26 17:36:14 -05:00
vnc-enc-zlib.c vnc: encapsulate encoding members 2010-07-26 17:36:14 -05:00
vnc-jobs-async.c vnc: threaded VNC server 2010-07-26 17:36:14 -05:00
vnc-jobs-sync.c vnc: threaded VNC server 2010-07-26 17:36:14 -05:00
vnc-jobs.h vnc: threaded VNC server 2010-07-26 17:36:14 -05:00
vnc-palette.c vnc: tight: stop using qdict for palette stuff 2010-07-26 17:36:14 -05:00
vnc-palette.h vnc: tight: stop using qdict for palette stuff 2010-07-26 17:36:14 -05:00
vnc-tls.c ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
vnc-tls.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
vnc.c vnc: avoid write only variables 2010-10-13 18:43:17 +00:00
vnc.h vnc: threaded VNC server 2010-07-26 17:36:14 -05:00
x_keymap.c ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
x_keymap.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00