summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/source/xmltesttools.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/source/xmltesttools.cxx b/test/source/xmltesttools.cxx
index 00d156c40ecf..b104599f4b9d 100644
--- a/test/source/xmltesttools.cxx
+++ b/test/source/xmltesttools.cxx
@@ -11,6 +11,7 @@
#include <memory>
+#include <o3tl/unreachable.hxx>
#include <vcl/mtfxmldump.hxx>
namespace {
@@ -96,6 +97,7 @@ OUString XmlTestTools::getXPathContent(xmlDocPtr pXmlDoc, const OString& rXPath)
{
case XPATH_UNDEFINED:
CPPUNIT_FAIL("Undefined XPath type");
+ O3TL_UNREACHABLE;
case XPATH_NODESET:
{
xmlNodeSetPtr pXmlNodes = pXmlObj->nodesetval;