From 72a78100b1c0df7919df19149b0d51a1154e1c56 Mon Sep 17 00:00:00 2001 From: Eric House Date: Mon, 27 May 2013 16:18:11 -0700 Subject: [PATCH] fix compile error in non-debug version --- xwords4/linux/cursesmain.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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