X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a9928e9d1ab76fd26557e2cf8e6715402639e999..3c86150dd768b4e490b603227de28aa57275ee4b:/src/common/log.cpp diff --git a/src/common/log.cpp b/src/common/log.cpp index f4250830b4..d9a6c7eb30 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -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