From ad44b2c7ff60bde7de360485956c6419f77c36fd Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 8 May 2005 10:55:43 +0000 Subject: [PATCH] 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 --- src/msw/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/msw/main.cpp b/src/msw/main.cpp index 76b9064c08..05b74c9e0a 100644 --- a/src/msw/main.cpp +++ b/src/msw/main.cpp @@ -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 } }