VC 7.1 warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -438,8 +438,11 @@ int wxEntry(int& argc, wxChar **argv)
|
|||||||
{
|
{
|
||||||
::ExitProcess(3); // the same exit code as abort()
|
::ExitProcess(3); // the same exit code as abort()
|
||||||
|
|
||||||
|
#if !defined(_MSC_VER) || _MSC_VER < 1300
|
||||||
// this code is unreachable but put it here to suppress warnings
|
// this code is unreachable but put it here to suppress warnings
|
||||||
|
// from some compilers
|
||||||
return -1;
|
return -1;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user