From: discomfitor Date: Sat, 15 Jan 2011 19:46:13 +0000 (+0000) Subject: more correctly shut gcc warnings up X-Git-Tag: submit/2.0alpha-wayland/20121127.221958~925 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d9df02d64005a2e700d6fe655e99a2d44984c86;p=profile%2Fivi%2Fedje.git more correctly shut gcc warnings up git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@56138 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- 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; }