sax/source/fastparser/fastparser.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 996960f5a25c0833942c03b94356d2137c4d7557 Author: David Ostrovsky <da...@ostrovsky.org> Date: Fri Feb 17 22:21:08 2017 +0000 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> diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx index 498bd4d..1b0ad53 100644 --- a/sax/source/fastparser/fastparser.cxx +++ b/sax/source/fastparser/fastparser.cxx @@ -980,7 +980,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