From: Vadim Zeitlin Date: Fri, 16 Apr 1999 17:51:31 +0000 (+0000) Subject: wxLog shouldn't complain about log levels it doesn't know about X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/373d88af8a2484ab68dcad6612e2030181a1d97d wxLog shouldn't complain about log levels it doesn't know about git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/log.cpp b/src/common/log.cpp index 5b3a6f1ffc..5ab9ada486 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -347,9 +347,6 @@ void wxLog::DoLog(wxLogLevel level, const wxChar *szString, time_t t) DoLogString(szString, t); #endif break; - - default: - wxFAIL_MSG(_("unknown log level in wxLog::DoLog")); } } @@ -569,9 +566,6 @@ void wxLogGui::DoLog(wxLogLevel level, const wxChar *szString, time_t t) m_aMessages.Add(szString); m_aTimes.Add((long)t); break; - - default: - wxFAIL_MSG(_("unknown log level in wxLogGui::DoLog")); } }