Remove unnecessary code.

This commit is contained in:
Stefanus Du Toit 2002-04-15 21:21:45 +00:00
parent d68573b245
commit 06dede7043
1 changed files with 1 additions and 2 deletions

View File

@ -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');