remove unused variable

This commit is contained in:
christos 2013-10-20 21:35:46 +00:00
parent 7eb6f06c8c
commit 49a7e4835b

View File

@ -753,10 +753,9 @@ int isclvar(const char *s) /* is s of form var=something ? */
#include <math.h>
int is_number(const char *s)
{
double r;
char *ep;
errno = 0;
r = strtod(s, &ep);
(void)strtod(s, &ep);
if (ep == s || errno == ERANGE)
return 0;
if (ep - s >= 3 && strncasecmp(ep - 3, "nan", 3) == 0)