hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=55b3a1c4b1a8d9b5adccaeefc63bdd0360c6fc4d

commit 55b3a1c4b1a8d9b5adccaeefc63bdd0360c6fc4d
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Tue Jun 23 08:25:29 2015 +0900

    --compiler warning.
    
    shit, avoid unused compiler warning by trick.
---
 src/lib/edc_parser.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/lib/edc_parser.c b/src/lib/edc_parser.c
index cb583e9..ff9139f 100644
--- a/src/lib/edc_parser.c
+++ b/src/lib/edc_parser.c
@@ -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;

-- 


Reply via email to