billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=a2bedb628196cdccf249565984fa64ff7668952d

commit a2bedb628196cdccf249565984fa64ff7668952d
Author: Boris Faure <bill...@gmail.com>
Date:   Wed Oct 5 22:00:02 2016 +0200

    fix shadow variable 'i'
---
 src/bin/tycommon.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/tycommon.h b/src/bin/tycommon.h
index da7af40..332426b 100644
--- a/src/bin/tycommon.h
+++ b/src/bin/tycommon.h
@@ -20,10 +20,10 @@ Eina_Bool is_running_in_terminology(void);
 #define ARGUMENT_ENTRY_CHECK(argc, argv, help_func) \
     do \
       { \
-         int i = 0; \
-         for(i = 0; i < argc; i++) \
+         int _i = 0; \
+         for(_i = 0; _i < argc; _i++) \
            { \
-             if (!strcmp(argv[i], "--help") || !strcmp(argv[i],"-h")) \
+             if (!strcmp(argv[_i], "--help") || !strcmp(argv[_i],"-h")) \
                { \
                   help_func(argv[0]); \
                   return EXIT_SUCCESS; \

-- 


Reply via email to