From c2f7cc71ef2188967e6a4dc90106fd716aa23be9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 3 Jul 2009 12:13:41 +0000 Subject: [PATCH] suppress harmless warning about possibly uninitialized variable in OpenLogFile() in OSX build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/logg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/logg.cpp b/src/generic/logg.cpp index 6d5ea29f61..e6600b0ddb 100644 --- a/src/generic/logg.cpp +++ b/src/generic/logg.cpp @@ -1142,7 +1142,7 @@ static int OpenLogFile(wxFile& file, wxString *pFilename, wxWindow *parent) // open file // --------- - bool bOk; + bool bOk = true; // suppress warning about it being possible uninitialized if ( wxFile::Exists(filename) ) { bool bAppend = false; wxString strMsg; -- 2.45.2