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:
parent
3fca879ce0
commit
ad44b2c7ff
@ -219,11 +219,11 @@ int wxEntry(int& argc, wxChar **argv)
|
||||
{
|
||||
wxFatalExit();
|
||||
|
||||
#ifndef __VISUALC__
|
||||
#if !defined(__VISUALC__) || defined(__WXDEBUG__)
|
||||
// this code is unreachable but put it here to suppress warnings in some compilers
|
||||
// and disable for others to supress warnings too
|
||||
return -1;
|
||||
#endif // !__VISUALC__
|
||||
#endif // !__VISUALC__ in release build
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user