From 06dede70436324d5be6072f0f2e980ad0b1e95b6 Mon Sep 17 00:00:00 2001 From: Stefanus Du Toit Date: Mon, 15 Apr 2002 21:21:45 +0000 Subject: [PATCH] Remove unnecessary code. --- cow/functions.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cow/functions.c b/cow/functions.c index 1d73860..925e65c 100755 --- a/cow/functions.c +++ b/cow/functions.c @@ -12,13 +12,12 @@ void extension_cow_term(xmlXPathParserContextPtr ctxt, int nargs) { xmlChar *str, *ret; - int str_l, month; + int month; if (nargs != 1) { xmlXPathSetArityError(ctxt); } str = xmlXPathPopString(ctxt); - str_l = xmlUTF8Strlen(str); month = (str[5] - '0')*10 + (str[6] - '0');