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:
@@ -1142,7 +1142,7 @@ static int OpenLogFile(wxFile& file, wxString *pFilename, wxWindow *parent)
|
|||||||
|
|
||||||
// open file
|
// open file
|
||||||
// ---------
|
// ---------
|
||||||
bool bOk;
|
bool bOk = true; // suppress warning about it being possible uninitialized
|
||||||
if ( wxFile::Exists(filename) ) {
|
if ( wxFile::Exists(filename) ) {
|
||||||
bool bAppend = false;
|
bool bAppend = false;
|
||||||
wxString strMsg;
|
wxString strMsg;
|
||||||
|
|||||||
Reference in New Issue
Block a user