Fix compiler warning when _VNC_DEBUG isn't defined.

Signed-off-by: Thiemo Seufer <ths@networkno.de>


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5312 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
ths 2008-09-24 15:17:57 +00:00
parent 547012f495
commit 234c9bcd7a

2
vnc.c
View File

@ -1610,7 +1610,7 @@ static int vnc_tls_initialize(void)
if (gnutls_dh_params_generate2 (dh_params, DH_BITS) < 0)
return 0;
#if _VNC_DEBUG == 2
#if defined(_VNC_DEBUG) && _VNC_DEBUG >= 2
gnutls_global_set_log_level(10);
gnutls_global_set_log_function(vnc_debug_gnutls_log);
#endif