1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +03:00

removed a potentially uninitialized variable error fixed a deprecation

* xpath.c: removed a potentially uninitialized variable error
* python/generator.py: fixed a deprecation warning
* python/tests/tstLastError.py: silent the damn test when Okay !
Daniel
This commit is contained in:
Daniel Veillard
2005-08-24 09:36:47 +00:00
parent bca3ad25f9
commit 8bda20f73c
4 changed files with 20 additions and 2 deletions

View File

@@ -8931,6 +8931,8 @@ xmlXPathCompStep(xmlXPathParserContextPtr ctxt) {
CHECK_ERROR;
type = (xmlXPathTypeVal) 0;
test = (xmlXPathTestVal) 0;
name = xmlXPathCompNodeTest(ctxt, &test, &type, &prefix, name);
if (test == 0)
return;