fix warning when DEBUG not defined

This commit is contained in:
ehouse 2008-11-22 17:14:08 +00:00
parent 13bf595a76
commit e5b5ce15df

View file

@ -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 );