From b24f3d66a77e11b5d8d726269090ba401e6db1f3 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sat, 22 Nov 2008 17:14:08 +0000 Subject: [PATCH] fix warning when DEBUG not defined --- xwords4/linux/gtkmain.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xwords4/linux/gtkmain.c b/xwords4/linux/gtkmain.c index a3b0cfe04..a996fa519 100644 --- a/xwords4/linux/gtkmain.c +++ b/xwords4/linux/gtkmain.c @@ -1739,7 +1739,9 @@ gtk_socket_acceptor( int listener, Acceptor func, CommonGlobals* globals, XP_ASSERT( !!globals->acceptor ); globals->acceptor = NULL; XP_ASSERT( !!info ); +#ifdef DEBUG int oldSock = info->socket; +#endif g_source_remove( info->watch ); g_io_channel_unref( info->channel ); XP_FREE( globals->params->util->mpool, info );