mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
fix compile error in non-debug version
This commit is contained in:
parent
eccd31472f
commit
72a78100b1
1 changed files with 4 additions and 1 deletions
|
@ -1745,7 +1745,10 @@ cursesmain( XP_Bool isServer, LaunchParams* params )
|
||||||
#ifdef USE_GLIBLOOP
|
#ifdef USE_GLIBLOOP
|
||||||
cursesListenOnSocket( &g_globals, 0, handle_stdin );
|
cursesListenOnSocket( &g_globals, 0, handle_stdin );
|
||||||
setOneSecondTimer( &g_globals.cGlobals );
|
setOneSecondTimer( &g_globals.cGlobals );
|
||||||
int piperesult = pipe( g_globals.quitpipe );
|
# ifdef DEBUG
|
||||||
|
int piperesult =
|
||||||
|
# endif
|
||||||
|
pipe( g_globals.quitpipe );
|
||||||
XP_ASSERT( piperesult == 0 );
|
XP_ASSERT( piperesult == 0 );
|
||||||
cursesListenOnSocket( &g_globals, g_globals.quitpipe[0], handle_quitwrite );
|
cursesListenOnSocket( &g_globals, g_globals.quitpipe[0], handle_quitwrite );
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue