sal/osl/all/log.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 4517ac374166c07df6fbe715797f6e1d9885805d Author: Michael Stahl <mst...@redhat.com> Date: Wed May 11 23:13:18 2016 +0200 sal: -Werror,-Wimplicit-fallthrough Change-Id: Id8262e735b9f95d8b476a4939c362648e2a4328a diff --git a/sal/osl/all/log.cxx b/sal/osl/all/log.cxx index 20efa68..d122bbc 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits