Remove unnecessary code.
This commit is contained in:
parent
d68573b245
commit
06dede7043
|
@ -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');
|
||||
|
||||
|
|
Loading…
Reference in New Issue