1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-08-08 21:42:07 +03:00

changed some variable names for warning cleanup when -ansi flag is not

* libexslt/crypto.c, libexslt/functions.c, libxslt/keys.c,
  libxslt/numbers.c, libxslt/pattern.c, libxslt/transform.c,
  libxslt/variables.c: changed some variable names for warning
  cleanup when -ansi flag is not present.
* libxslt/namespaces.c: fixed potential NULL pointer reference
  pointed out by Dennis Dams (bug 156187)
This commit is contained in:
William M. Brack
2004-10-23 16:42:01 +00:00
parent 9161829327
commit e21d0a503b
10 changed files with 103 additions and 94 deletions

View File

@@ -455,7 +455,7 @@ static xsltElemPreCompPtr
exsltFuncResultComp (xsltStylesheetPtr style, xmlNodePtr inst,
xsltTransformFunction function) {
xmlNodePtr test;
xmlChar *select;
xmlChar *sel;
exsltFuncResultPreComp *ret;
/*
@@ -525,10 +525,10 @@ exsltFuncResultComp (xsltStylesheetPtr style, xmlNodePtr inst,
/*
* Precompute the select attribute
*/
select = xmlGetNsProp(inst, (const xmlChar *) "select", NULL);
if (select != NULL) {
ret->select = xmlXPathCompile (select);
xmlFree(select);
sel = xmlGetNsProp(inst, (const xmlChar *) "select", NULL);
if (sel != NULL) {
ret->select = xmlXPathCompile (sel);
xmlFree(sel);
}
/*
* Precompute the namespace list