diff options
Diffstat (limited to 'sal/rtl/digest.cxx')
-rw-r--r-- | sal/rtl/digest.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sal/rtl/digest.cxx b/sal/rtl/digest.cxx index 3ec357a2cb34..1000fc0aed02 100644 --- a/sal/rtl/digest.cxx +++ b/sal/rtl/digest.cxx @@ -613,11 +613,11 @@ static void endMD5(DigestContextMD5 *ctx) switch (ctx->m_nDatLen & 0x03) { case 0: X[i] = static_cast<sal_uInt32>(*(p++)) << 0; - SAL_FALLTHROUGH; + [[fallthrough]]; case 1: X[i] |= static_cast<sal_uInt32>(*(p++)) << 8; - SAL_FALLTHROUGH; + [[fallthrough]]; case 2: X[i] |= static_cast<sal_uInt32>(*(p++)) << 16; - SAL_FALLTHROUGH; + [[fallthrough]]; case 3: X[i] |= static_cast<sal_uInt32>(*p) << 24; } @@ -1034,11 +1034,11 @@ static void endSHA(DigestContextSHA *ctx) switch (ctx->m_nDatLen & 0x03) { case 0: X[i] = static_cast<sal_uInt32>(*(p++)) << 0; - SAL_FALLTHROUGH; + [[fallthrough]]; case 1: X[i] |= static_cast<sal_uInt32>(*(p++)) << 8; - SAL_FALLTHROUGH; + [[fallthrough]]; case 2: X[i] |= static_cast<sal_uInt32>(*(p++)) << 16; - SAL_FALLTHROUGH; + [[fallthrough]]; case 3: X[i] |= static_cast<sal_uInt32>(*(p++)) << 24; } |