* [Qemu-devel] [5312] Fix compiler warning when _VNC_DEBUG isn't defined.
@ 2008-09-24 15:17 Thiemo Seufer
0 siblings, 0 replies; only message in thread
From: Thiemo Seufer @ 2008-09-24 15:17 UTC (permalink / raw)
To: qemu-devel
Revision: 5312
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5312
Author: ths
Date: 2008-09-24 15:17:57 +0000 (Wed, 24 Sep 2008)
Log Message:
-----------
Fix compiler warning when _VNC_DEBUG isn't defined.
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Modified Paths:
--------------
trunk/vnc.c
Modified: trunk/vnc.c
===================================================================
--- trunk/vnc.c 2008-09-24 14:33:07 UTC (rev 5311)
+++ trunk/vnc.c 2008-09-24 15:17:57 UTC (rev 5312)
@@ -1610,7 +1610,7 @@
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-09-24 15:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-24 15:17 [Qemu-devel] [5312] Fix compiler warning when _VNC_DEBUG isn't defined Thiemo Seufer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).