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
This commit is contained in:
parent
e37870dd38
commit
c2f7cc71ef
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user