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> |
||
---|---|---|
.. | ||
cocoa.m | ||
curses.c | ||
curses_keys.h | ||
d3des.c | ||
d3des.h | ||
keymaps.c | ||
keymaps.h | ||
qemu-spice.h | ||
sdl.c | ||
sdl_keysym.h | ||
sdl_zoom.c | ||
sdl_zoom.h | ||
sdl_zoom_template.h | ||
spice-core.c | ||
spice-display.c | ||
spice-display.h | ||
spice-input.c | ||
vnc-auth-sasl.c | ||
vnc-auth-sasl.h | ||
vnc-auth-vencrypt.c | ||
vnc-auth-vencrypt.h | ||
vnc-enc-hextile-template.h | ||
vnc-enc-hextile.c | ||
vnc-enc-tight.c | ||
vnc-enc-tight.h | ||
vnc-enc-zlib.c | ||
vnc-jobs-async.c | ||
vnc-jobs-sync.c | ||
vnc-jobs.h | ||
vnc-palette.c | ||
vnc-palette.h | ||
vnc-tls.c | ||
vnc-tls.h | ||
vnc.c | ||
vnc.h | ||
vnc_keysym.h | ||
x_keymap.c | ||
x_keymap.h |