diff options
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/all/log.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sal/osl/all/log.cxx b/sal/osl/all/log.cxx index db5dc7b557f0..3a496b8db75e 100644 --- a/sal/osl/all/log.cxx +++ b/sal/osl/all/log.cxx @@ -225,13 +225,16 @@ void log( switch (level) { case SAL_DETAIL_LOG_LEVEL_INFO: prio = LOG_INFO; + break; default: assert(false); // this cannot happen // fall through case SAL_DETAIL_LOG_LEVEL_WARN: prio = LOG_WARNING; + break; case SAL_DETAIL_LOG_LEVEL_DEBUG: prio = LOG_DEBUG; + break; } syslog(prio, "%s", s.str().c_str()); #endif |