diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-05-10 17:03:22 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-05-10 17:03:22 +0200 |
commit | 7d91753c5bf91a830620651652fe96dbeed77a92 (patch) | |
tree | 1bb5c824b0eeb35779240169371696aab79a9e14 /package | |
parent | 21fcb2b4a2e4c2c846b9d844434dcd84f8dd728b (diff) |
Add SAL_FALLTHROUGH, where apparently appropriate
Change-Id: Ieee43fce49b7f07d6b356e8c2e34e9e92b605957
Diffstat (limited to 'package')
-rw-r--r-- | package/source/zipapi/Deflater.cxx | 1 | ||||
-rw-r--r-- | package/source/zipapi/Inflater.cxx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/package/source/zipapi/Deflater.cxx b/package/source/zipapi/Deflater.cxx index 6af18af08dc7..e1694d293ca9 100644 --- a/package/source/zipapi/Deflater.cxx +++ b/package/source/zipapi/Deflater.cxx @@ -83,6 +83,7 @@ sal_Int32 Deflater::doDeflateBytes (uno::Sequence < sal_Int8 > &rBuffer, sal_Int { case Z_STREAM_END: bFinished = true; + SAL_FALLTHROUGH; case Z_OK: nOffset += nLength - pStream->avail_in; nLength = pStream->avail_in; diff --git a/package/source/zipapi/Inflater.cxx b/package/source/zipapi/Inflater.cxx index 1129901d9fa8..d99d8cb0c7bd 100644 --- a/package/source/zipapi/Inflater.cxx +++ b/package/source/zipapi/Inflater.cxx @@ -116,6 +116,7 @@ sal_Int32 Inflater::doInflateBytes (Sequence < sal_Int8 > &rBuffer, sal_Int32 n { case Z_STREAM_END: bFinished = true; + SAL_FALLTHROUGH; case Z_OK: nOffset += nLength - pStream->avail_in; nLength = pStream->avail_in; |