mirror of
https://github.com/GNOME/libxml2.git
synced 2025-04-06 19:20:23 +08:00
removed unused var Daniel
* xpointer.c: removed unused var Daniel
This commit is contained in:
parent
09190201ca
commit
ae6db17a44
@ -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
|
||||
|
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user