summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorDavid Ostrovsky <david@ostrovsky.org>2017-02-17 22:21:08 +0000
committerStephan Bergmann <sbergman@redhat.com>2017-02-20 09:00:57 +0000
commit996960f5a25c0833942c03b94356d2137c4d7557 (patch)
tree18dce45a68993a8b7cabdcdefb3daa76eee2c856 /sax
parent12fc1d5399a688a80eec2565a4b552377e428ab7 (diff)
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>
Diffstat (limited to 'sax')
-rw-r--r--sax/source/fastparser/fastparser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx
index 498bd4de7042..1b0ad53cb34c 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;