fixed a warning about unusable code in release build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-07-09 21:19:00 +00:00
parent 1a278e7bef
commit 5e475383d8

View File

@@ -199,7 +199,10 @@ void wxLogFatalError(const wxChar *szFormat, ...)
va_list argptr;
va_start(argptr, szFormat);
wxVLogFatalError(szFormat, argptr);
va_end(argptr);
// some compilers warn about unreachable code and it shouldn't matter
// for the others anyhow...
//va_end(argptr);
}
// same as info, but only if 'verbose' mode is on