diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-06 20:57:31 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-07-11 01:28:41 +0200 |
| commit | 343464b6db9d451c82fbdcd1f43da587bd6992af (patch) | |
| tree | 9fb3e306796c4cba6bafb316294bddb7c0e5009e /src/KM_log.cpp | |
| parent | 9aa0ea1db985b0348654dbe974383553be574ce7 (diff) | |
Fix warnings about not all possible values in a switch
being handled.
Diffstat (limited to 'src/KM_log.cpp')
| -rwxr-xr-x | src/KM_log.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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; |
