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;