X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7fbc89bb02d09a525e8ae537b44c6e1e1d7cb41d..7b4fee49300c44b2f387c56f4cee9ac3e9b87fb9:/src/common/init.cpp diff --git a/src/common/init.cpp b/src/common/init.cpp index 4db4aab90d..c25c12cd86 100644 --- a/src/common/init.cpp +++ b/src/common/init.cpp @@ -438,8 +438,11 @@ int wxEntry(int& argc, wxChar **argv) { ::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 + // from some compilers return -1; +#endif } }