diff options
author | David Ostrovsky <david@ostrovsky.org> | 2017-02-17 22:21:08 +0000 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2019-08-30 23:32:12 +0200 |
commit | 0d5dfd5bed02a839a36083da45966afbfc021409 (patch) | |
tree | 2bf0fbf1b1feb5f5e76a590b9dfb4775fbb74439 | |
parent | libpng: upgrade to release 1.6.37 (diff) | |
download | core-0d5dfd5bed02a839a36083da45966afbfc021409.tar.gz core-0d5dfd5bed02a839a36083da45966afbfc021409.zip |
MSVC 14.0: Fix warning C4702: unreachable code
Change-Id: I38db92984daae40981f2d3f60c4efa38684d5328
Reviewed-on: https://gerrit.libreoffice.org/34382
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
(cherry picked from commit 996960f5a25c0833942c03b94356d2137c4d7557)
-rw-r--r-- | sax/source/fastparser/fastparser.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx index 88a193eb3732..7494d71aa83e 100644 --- a/sax/source/fastparser/fastparser.cxx +++ b/sax/source/fastparser/fastparser.cxx @@ -927,7 +927,7 @@ bool FastSaxParserImpl::consume(EventList *pEventList) return false; case EXCEPTION: rEntity.throwException( mxDocumentLocator, false ); - return false; + SAL_FALLTHROUGH; // avoid unreachable code warning with some comilers default: assert(false); return false; |