From 2d9df02d64005a2e700d6fe655e99a2d44984c86 Mon Sep 17 00:00:00 2001 From: discomfitor Date: Sat, 15 Jan 2011 19:46:13 +0000 Subject: [PATCH] more correctly shut gcc warnings up git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@56138 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/edje_cc_parse.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/bin/edje_cc_parse.c b/src/bin/edje_cc_parse.c index 1f28859..a1fba6b 100644 --- a/src/bin/edje_cc_parse.c +++ b/src/bin/edje_cc_parse.c @@ -802,7 +802,7 @@ is_param(int n) } int -is_num(int n) +is_num(int n __UNUSED__) { char *str; char *end; @@ -818,10 +818,6 @@ is_num(int n) if (str[0] == 0) return 0; end = str; ret = strtol(str, &end, 0); - if ((ret == LONG_MIN) || (ret == LONG_MAX)) - { - n = 0; // do nothing. shut gcc warnings up - } if ((end != str) && (end[0] == 0)) return 1; return 0; } -- 2.7.4