diff options
-rw-r--r-- | src/xpath.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xpath.c b/src/xpath.c index 2419f133..43cdf33a 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 |