From a988b943c54eddf66d213e301e8566d0d5bdca62 Mon Sep 17 00:00:00 2001 From: "Zane U. Ji" Date: Wed, 23 Apr 2014 21:44:49 +0800 Subject: [PATCH] Backed out a change so that debug versions and release versions can talk --- src/myipc.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/myipc.cpp b/src/myipc.cpp index f286be3..9caedd6 100644 --- a/src/myipc.cpp +++ b/src/myipc.cpp @@ -194,11 +194,7 @@ bool MyClient::talkToServer ( int argc, const wxChar * const *argv ) // wxConnectionBase::Poke expects something other than NULL in debug // version static wxChar whatBuffer[] = _T ( "Data" ); -#ifdef __WXDEBUG__ const static size_t bufSize = sizeof ( whatBuffer ) - sizeof ( wxChar ); -#else - const static size_t bufSize = 0; -#endif if ( argc <= 1 ) { connection->Poke ( IPC_NO_FILE, whatBuffer, bufSize );