Kaydet (Commit) 9808486a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Avoid -Werror,-Wimplicit-fallthrough with clang-cl

...where CPPUNIT_FAIL is marked as noreturn only for __GNUC__

Change-Id: Id820b00d8dfe1218a10cd586d32cc20eb6a003de
Reviewed-on: https://gerrit.libreoffice.org/67244
Tested-by: Jenkins
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst cd520894
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <memory> #include <memory>
#include <o3tl/unreachable.hxx>
#include <vcl/mtfxmldump.hxx> #include <vcl/mtfxmldump.hxx>
namespace { namespace {
...@@ -96,6 +97,7 @@ OUString XmlTestTools::getXPathContent(xmlDocPtr pXmlDoc, const OString& rXPath) ...@@ -96,6 +97,7 @@ OUString XmlTestTools::getXPathContent(xmlDocPtr pXmlDoc, const OString& rXPath)
{ {
case XPATH_UNDEFINED: case XPATH_UNDEFINED:
CPPUNIT_FAIL("Undefined XPath type"); CPPUNIT_FAIL("Undefined XPath type");
O3TL_UNREACHABLE;
case XPATH_NODESET: case XPATH_NODESET:
{ {
xmlNodeSetPtr pXmlNodes = pXmlObj->nodesetval; xmlNodeSetPtr pXmlNodes = pXmlObj->nodesetval;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment