1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2026-01-26 21:41:34 +03:00

Initialize pointer incase we end up skipping the while loop completely.

This commit is contained in:
Peter Fordham
2025-12-14 21:09:21 -08:00
parent 98194640b8
commit aef94414c6

View File

@@ -7910,7 +7910,7 @@ void
xmlXPathLangFunction(xmlXPathParserContext *ctxt, int nargs) {
xmlXPathObjectPtr val;
xmlNodePtr cur;
xmlChar *theLang;
xmlChar *theLang = NULL;
const xmlChar *lang;
int ret = 0;
int i;