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:
@@ -199,7 +199,10 @@ void wxLogFatalError(const wxChar *szFormat, ...)
|
|||||||
va_list argptr;
|
va_list argptr;
|
||||||
va_start(argptr, szFormat);
|
va_start(argptr, szFormat);
|
||||||
wxVLogFatalError(szFormat, argptr);
|
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
|
// same as info, but only if 'verbose' mode is on
|
||||||
|
Reference in New Issue
Block a user