diff options
| author | H. Peter Anvin <hpa@linux.intel.com> | 2010-07-02 11:19:39 -0700 |
|---|---|---|
| committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-07-02 11:19:39 -0700 |
| commit | b6642907cee0174344b2944eefaf459da23e2541 (patch) | |
| tree | 8bdb84ca9a8dd7090cb4f007b0d6a01e95a4da4f /com32/lua/src/loadlib.c | |
| parent | d1e65715467febf68f72b908cf8d43b45548549d (diff) | |
| download | syslinux-4.01.tar.gz | |
lua: quiet warnings about unused variables and functionssyslinux-4.01
Quiet gcc warnings about unused variables and functions -- things that
are not used in the Syslinux environment at this time.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'com32/lua/src/loadlib.c')
| -rw-r--r-- | com32/lua/src/loadlib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/lua/src/loadlib.c b/com32/lua/src/loadlib.c index 906b47e0..b6f4cc6a 100644 --- a/com32/lua/src/loadlib.c +++ b/com32/lua/src/loadlib.c @@ -590,6 +590,7 @@ static int ll_seeall (lua_State *L) { static void setpath (lua_State *L, const char *fieldname, const char *envname, const char *def) { const char *path = /*getenv(envname)*/ NULL; + (void)envname; /* Shut up gcc */ if (path == NULL) /* no environment variable? */ lua_pushstring(L, def); /* use default */ else { |
