diff options
author | William M. Brack <wbrack@src.gnome.org> | 2003-09-28 01:45:49 +0000 |
---|---|---|
committer | William M. Brack <wbrack@src.gnome.org> | 2003-09-28 01:45:49 +0000 |
commit | 1133731a3e82fa80315fd6ab2193e1e549358b31 (patch) | |
tree | 1dde713bfdbdfc6b428d66fc2a20ad190f7d83d3 /xsltproc | |
parent | c5f8d4199abba6af8d47d6c17f2eb5d03f894aae (diff) | |
download | libxslt-1133731a3e82fa80315fd6ab2193e1e549358b31.tar.gz libxslt-1133731a3e82fa80315fd6ab2193e1e549358b31.tar.bz2 libxslt-1133731a3e82fa80315fd6ab2193e1e549358b31.zip |
minor cleanup for various compilation warnings (AIX as well as gcc)
* libxslt/numbers.c, libxslt/extensions.c, libexslt/date.c,
python/libxslt.c, xsltproc/xsltproc.c: minor cleanup for
various compilation warnings (AIX as well as gcc)
Diffstat (limited to 'xsltproc')
-rw-r--r-- | xsltproc/xsltproc.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c index 0785171e..a82af9ae 100644 --- a/xsltproc/xsltproc.c +++ b/xsltproc/xsltproc.c @@ -441,16 +441,15 @@ xsltProcess(xmlDocPtr doc, xsltStylesheetPtr cur, const char *filename) { xmlFreeDoc(res); } else { - int ret; ctxt = xsltNewTransformContext(cur, doc); if (ctxt == NULL) return; if (profile) { - ret = xsltRunStylesheetUser(cur, doc, params, output, + xsltRunStylesheetUser(cur, doc, params, output, NULL, NULL, stderr, ctxt); } else { - ret = xsltRunStylesheetUser(cur, doc, params, output, + xsltRunStylesheetUser(cur, doc, params, output, NULL, NULL, NULL, ctxt); } if (ctxt->state == XSLT_STATE_ERROR) @@ -644,12 +643,10 @@ main(int argc, char **argv) (!strcmp(argv[i], "--stringparam"))) { const xmlChar *string; xmlChar *value; - int len; i++; params[nbparams++] = argv[i++]; string = (const xmlChar *) argv[i]; - len = xmlStrlen(string); if (xmlStrchr(string, '"')) { if (xmlStrchr(string, '\'')) { fprintf(stderr, |