Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KiW7w-0005h6-N8 for qemu-devel@nongnu.org; Wed, 24 Sep 2008 11:18:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KiW7v-0005ga-GB for qemu-devel@nongnu.org; Wed, 24 Sep 2008 11:18:04 -0400 Received: from [199.232.76.173] (port=54472 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KiW7v-0005gO-AL for qemu-devel@nongnu.org; Wed, 24 Sep 2008 11:18:03 -0400 Received: from savannah.gnu.org ([199.232.41.3]:54149 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KiW7v-0003hp-8I for qemu-devel@nongnu.org; Wed, 24 Sep 2008 11:18:03 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KiW7s-0006Km-IV for qemu-devel@nongnu.org; Wed, 24 Sep 2008 15:18:01 +0000 Received: from ths by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KiW7r-0006Kh-Lh for qemu-devel@nongnu.org; Wed, 24 Sep 2008 15:18:00 +0000 MIME-Version: 1.0 Errors-To: ths Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Thiemo Seufer Message-Id: Date: Wed, 24 Sep 2008 15:17:59 +0000 Subject: [Qemu-devel] [5312] Fix compiler warning when _VNC_DEBUG isn't defined. Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 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