From 319034d68306596d3b35a84f4dd50b900f11d804 Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Tue, 10 Jun 2014 15:36:07 +0100 Subject: [PATCH] elua: fix warnings with -Wextra -Wshadow --- src/bin/elua/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/elua/main.c b/src/bin/elua/main.c index 2468a00530..033545ac0f 100644 --- a/src/bin/elua/main.c +++ b/src/bin/elua/main.c @@ -369,7 +369,7 @@ const luaL_reg gettextlib[] = }; static void -print_help(const char *progname, FILE *stream) +print_help(const char *pname, FILE *stream) { fprintf(stream, "Usage: %s [OPTIONS] [SCRIPT [ARGS]]\n\n" "A main entry for all EFL/LuaJIT powered applications.\n\n" @@ -383,7 +383,7 @@ print_help(const char *progname, FILE *stream) " -e[CODE], --execute=[CODE] Execute string 'code'.\n" " -l[LIBRARY], --library=[LIBRARY] Require library 'library'.\n" " -I[DIR], --lib-dir=[DIR] Append an additional require path.\n" - " -E, --noenv Ignore environment variables.\n", progname); + " -E, --noenv Ignore environment variables.\n", pname); } static struct option lopt[] =