From 343464b6db9d451c82fbdcd1f43da587bd6992af Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 6 Apr 2020 20:57:31 +0200 Subject: Fix warnings about not all possible values in a switch being handled. --- src/KM_log.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/KM_log.cpp') diff --git a/src/KM_log.cpp b/src/KM_log.cpp index 1a9354a..9aff3a5 100755 --- a/src/KM_log.cpp +++ b/src/KM_log.cpp @@ -203,6 +203,7 @@ Kumu::SyslogLogSink::WriteEntry(const LogEntry& Entry) case Kumu::LOG_NOTICE: priority = SYSLOG_NOTICE; break; case Kumu::LOG_INFO: priority = SYSLOG_INFO; break; case Kumu::LOG_DEBUG: priority = SYSLOG_DEBUG; break; + case Kumu::LOG_MAX: break; } AutoMutex L(m_lock); @@ -295,6 +296,8 @@ Kumu::LogEntry::TestFilter(i32_t filter) const return false; break; + case LOG_MAX: + break; } return true; -- cgit v1.2.3