summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xpath.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xpath.c b/src/xpath.c
index 2419f13..43cdf33 100644
--- a/src/xpath.c
+++ b/src/xpath.c
@@ -279,6 +279,8 @@ xmlSecXPathDataExecute(xmlSecXPathDataPtr data, xmlDocPtr doc, xmlNodePtr hereNo
return(NULL);
}
break;
+ default:
+ return(NULL);
}
/* sometime LibXML2 returns an empty nodeset or just NULL, we want