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>
This commit is contained in:
David Ostrovsky
2017-02-17 22:21:08 +00:00
committed by Stephan Bergmann
parent 12fc1d5399
commit 996960f5a2

View File

@@ -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;