From cda66071f17f062779a7009065e5ff7dd958440b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 9 Jul 2003 21:20:56 +0000 Subject: [PATCH] VC 7.1 warning fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/init.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 } } -- 2.45.2