fix VC++ warning in debug build after latest fix to warning in release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -219,11 +219,11 @@ int wxEntry(int& argc, wxChar **argv)
|
|||||||
{
|
{
|
||||||
wxFatalExit();
|
wxFatalExit();
|
||||||
|
|
||||||
#ifndef __VISUALC__
|
#if !defined(__VISUALC__) || defined(__WXDEBUG__)
|
||||||
// this code is unreachable but put it here to suppress warnings in some compilers
|
// this code is unreachable but put it here to suppress warnings in some compilers
|
||||||
// and disable for others to supress warnings too
|
// and disable for others to supress warnings too
|
||||||
return -1;
|
return -1;
|
||||||
#endif // !__VISUALC__
|
#endif // !__VISUALC__ in release build
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user