From cde6032c2eab72c8e694a9c59ee241bfe7042526 Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Wed, 9 Jan 2013 16:39:07 +0000 Subject: [PATCH] efl/ecore_x: remove shadow warning from makekeys the warning didn't exist because we were not using cflags, now we will. all these variables are not used outside main(), so keep them local. SVN revision: 82473 --- src/utils/ecore/makekeys.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/utils/ecore/makekeys.c b/src/utils/ecore/makekeys.c index a057fa2c65..5d8c979cf0 100644 --- a/src/utils/ecore/makekeys.c +++ b/src/utils/ecore/makekeys.c @@ -44,11 +44,6 @@ static struct _Info static int _parseline(const char *buf, char *key, long unsigned int *val, char *prefix); /* local variables */ -static char tab[TBLNUM]; -static unsigned short offsets[TBLNUM]; -static unsigned short indexes[TBLNUM]; -static long unsigned int values[TBLNUM]; -static char buf[1024]; static int ksnum = 0; int @@ -63,6 +58,11 @@ main(int argc, char **argv) int best_max_rehash = 0, best_z = 0; long unsigned int val; char key[128], prefix[128]; + char tab[TBLNUM]; + unsigned short offsets[TBLNUM]; + unsigned short indexes[TBLNUM]; + long unsigned int values[TBLNUM]; + char buf[1024]; for (l = 1; l < argc; l++) {