From ae6db17a444af6e9a5d9d733540e623cea888161 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Thu, 16 Aug 2001 19:32:00 +0000 Subject: [PATCH] removed unused var Daniel * xpointer.c: removed unused var Daniel --- ChangeLog | 4 ++++ xpointer.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c0b37284..2ad57d36 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Aug 16 21:31:14 CEST 2001 Daniel Veillard + + * xpointer.c: removed unused var + Thu Aug 16 18:26:40 CEST 2001 Daniel Veillard * testXPath.c: another small cleanup closing bug #59110 diff --git a/xpointer.c b/xpointer.c index 5192fe50..2bc29cbe 100644 --- a/xpointer.c +++ b/xpointer.c @@ -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)) {