Skip to content
Snippets Groups Projects
Commit cfa477abdaee authored by Daniel Veillard's avatar Daniel Veillard
Browse files

minor change, avoid wasting CPU cycles Daniel

* xsltproc/xsltproc.c: minor change, avoid wasting CPU cycles
Daniel
parent 9ef2cab128ee
No related branches found
No related tags found
No related merge requests found
Sun Aug 3 17:40:13 EDT 2003 Daniel Veillard <daniel@veillard.com>
* xsltproc/xsltproc.c: minor change, avoid wasting CPU cycles
Sun Aug 3 21:05:07 HKT 2003 William Brack <wbrack@mmm.com.hk>
Minor cleanup of regression test general/bug-125
......
......@@ -163,8 +163,9 @@
const char *lastsegment = URL;
const char *iter = URL;
if (nbpaths > 0) {
while (*iter != 0) {
if (*iter == '/')
lastsegment = iter + 1;
iter++;
}
......@@ -166,8 +167,9 @@
while (*iter != 0) {
if (*iter == '/')
lastsegment = iter + 1;
iter++;
}
}
if ((ctxt != NULL) && (ctxt->sax != NULL)) {
warning = ctxt->sax->warning;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment