removed unused var Daniel

* xpointer.c: removed unused var
Daniel
This commit is contained in:
Daniel Veillard 2001-08-16 19:32:00 +00:00
parent 09190201ca
commit ae6db17a44
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,7 @@
Thu Aug 16 21:31:14 CEST 2001 Daniel Veillard <daniel@veillard.com>
* xpointer.c: removed unused var
Thu Aug 16 18:26:40 CEST 2001 Daniel Veillard <daniel@veillard.com>
* testXPath.c: another small cleanup closing bug #59110

View File

@ -2467,7 +2467,6 @@ xmlXPtrSearchString(const xmlChar *string, xmlNodePtr *start, int *startindex,
const xmlChar *str;
int pos; /* 0 based */
int len; /* in bytes */
int stringlen; /* in bytes */
xmlChar first;
if (string == NULL)
@ -2481,7 +2480,6 @@ xmlXPtrSearchString(const xmlChar *string, xmlNodePtr *start, int *startindex,
return(-1);
pos = *startindex - 1;
first = string[0];
stringlen = xmlStrlen(string);
while (cur != NULL) {
if ((cur->type != XML_ELEMENT_NODE) && (cur->content != NULL)) {