--compiler warning.
shit, avoid unused compiler warning by trick.
This commit is contained in:
parent
dc85cafc7d
commit
55b3a1c4b1
|
@ -1152,7 +1152,9 @@ is_numberic(const char *str)
|
|||
if (!str || (*str == '\0') || isspace(*str))
|
||||
return EINA_FALSE;
|
||||
|
||||
strtod(str, &p);
|
||||
double v = strtod(str, &p);
|
||||
(v); //trick for avoding unused compiler warning.
|
||||
|
||||
if (*p == '\0') ret = EINA_TRUE;
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Reference in New Issue