mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-30 22:43:14 +03:00
removed unused var Daniel
* xpointer.c: removed unused var Daniel
This commit is contained in:
@ -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>
|
Thu Aug 16 18:26:40 CEST 2001 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* testXPath.c: another small cleanup closing bug #59110
|
* testXPath.c: another small cleanup closing bug #59110
|
||||||
|
@ -2467,7 +2467,6 @@ xmlXPtrSearchString(const xmlChar *string, xmlNodePtr *start, int *startindex,
|
|||||||
const xmlChar *str;
|
const xmlChar *str;
|
||||||
int pos; /* 0 based */
|
int pos; /* 0 based */
|
||||||
int len; /* in bytes */
|
int len; /* in bytes */
|
||||||
int stringlen; /* in bytes */
|
|
||||||
xmlChar first;
|
xmlChar first;
|
||||||
|
|
||||||
if (string == NULL)
|
if (string == NULL)
|
||||||
@ -2481,7 +2480,6 @@ xmlXPtrSearchString(const xmlChar *string, xmlNodePtr *start, int *startindex,
|
|||||||
return(-1);
|
return(-1);
|
||||||
pos = *startindex - 1;
|
pos = *startindex - 1;
|
||||||
first = string[0];
|
first = string[0];
|
||||||
stringlen = xmlStrlen(string);
|
|
||||||
|
|
||||||
while (cur != NULL) {
|
while (cur != NULL) {
|
||||||
if ((cur->type != XML_ELEMENT_NODE) && (cur->content != NULL)) {
|
if ((cur->type != XML_ELEMENT_NODE) && (cur->content != NULL)) {
|
||||||
|
Reference in New Issue
Block a user