diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-05-11 23:13:18 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-05-11 23:14:45 +0200 |
commit | 4517ac374166c07df6fbe715797f6e1d9885805d (patch) | |
tree | 832e520760a5435d496b5ed76ab44a0dfe484a90 /sal/osl/all | |
parent | 842970f8469e0147ff9fdb06ebf8ee1a3299e78e (diff) |
sal: -Werror,-Wimplicit-fallthrough
Change-Id: Id8262e735b9f95d8b476a4939c362648e2a4328a
Diffstat (limited to 'sal/osl/all')
-rw-r--r-- | sal/osl/all/log.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/all/log.cxx b/sal/osl/all/log.cxx index 20efa68ee645..d122bbc0a032 100644 --- a/sal/osl/all/log.cxx +++ b/sal/osl/all/log.cxx @@ -65,7 +65,7 @@ char const * toString(sal_detail_LogLevel level) { switch (level) { default: assert(false); // this cannot happen - // fall through + SAL_FALLTHROUGH; case SAL_DETAIL_LOG_LEVEL_INFO: return "info"; case SAL_DETAIL_LOG_LEVEL_WARN: @@ -246,7 +246,7 @@ void log( break; default: assert(false); // this cannot happen - // fall through + SAL_FALLTHROUGH; case SAL_DETAIL_LOG_LEVEL_WARN: prio = LOG_WARNING; break; |