From a2bedb628196cdccf249565984fa64ff7668952d Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Wed, 5 Oct 2016 22:00:02 +0200 Subject: [PATCH] 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 da7af40d..332426b4 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; \