--compiler warning.

shit, avoid unused compiler warning by trick.
This commit is contained in:
ChunEon Park 2015-06-23 08:25:29 +09:00
parent dc85cafc7d
commit 55b3a1c4b1
1 changed files with 3 additions and 1 deletions

View File

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