fix compile error in non-debug version

This commit is contained in:
Eric House 2013-05-27 16:18:11 -07:00
parent eccd31472f
commit 72a78100b1

View file

@ -1745,7 +1745,10 @@ cursesmain( XP_Bool isServer, LaunchParams* params )
#ifdef USE_GLIBLOOP
cursesListenOnSocket( &g_globals, 0, handle_stdin );
setOneSecondTimer( &g_globals.cGlobals );
int piperesult = pipe( g_globals.quitpipe );
# ifdef DEBUG
int piperesult =
# endif
pipe( g_globals.quitpipe );
XP_ASSERT( piperesult == 0 );
cursesListenOnSocket( &g_globals, g_globals.quitpipe[0], handle_quitwrite );
#else