diff --git a/xwords4/linux/cursesmain.c b/xwords4/linux/cursesmain.c index a0693a6d4..a2e98c97b 100644 --- a/xwords4/linux/cursesmain.c +++ b/xwords4/linux/cursesmain.c @@ -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