From c3fad64b429a8f88396ad3b1693b611206ee8ee5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Wed, 19 Jan 2005 13:23:49 +0000 Subject: [PATCH] Cookie is not for dummy initialization due to condition of setting it. Source cleaning. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/utilsexc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/msw/utilsexc.cpp b/src/msw/utilsexc.cpp index 5ba14aad62..226677c279 100644 --- a/src/msw/utilsexc.cpp +++ b/src/msw/utilsexc.cpp @@ -531,7 +531,7 @@ static bool wxExecuteDDE(const wxString& ddeServer, long wxExecute(const wxString& cmd, int flags, wxProcess *handler) { - wxCHECK_MSG( !cmd.IsEmpty(), 0, wxT("empty command in wxExecute") ); + wxCHECK_MSG( !cmd.empty(), 0, wxT("empty command in wxExecute") ); #if wxUSE_THREADS // for many reasons, the code below breaks down if it's called from another @@ -889,7 +889,7 @@ long wxExecute(const wxString& cmd, int flags, wxProcess *handler) } wxAppTraits *traits = NULL; - void *cookie wxDUMMY_INITIALIZE(NULL); + void *cookie = NULL; if ( !(flags & wxEXEC_NODISABLE) ) { if ( wxTheApp ) -- 2.50.0