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:
committed by
Stephan Bergmann
parent
12fc1d5399
commit
996960f5a2
@@ -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;
|
||||
|
Reference in New Issue
Block a user