sax/source/fastparser/fastparser.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7814e7a912aacd4022a5903d8cbf2955a12af5f1 Author: David Ostrovsky <da...@ostrovsky.org> AuthorDate: Fri Feb 17 22:21:08 2017 +0000 Commit: Michael Stahl <michael.st...@cib.de> CommitDate: Wed May 8 11:59:51 2019 +0200 MSVC 14.0: Fix warning C4702: unreachable code Change-Id: I38db92984daae40981f2d3f60c4efa38684d5328 Reviewed-on: https://gerrit.libreoffice.org/34382 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: David Ostrovsky <da...@ostrovsky.org> (cherry picked from commit 996960f5a25c0833942c03b94356d2137c4d7557) 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits