aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lua/src/loadlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/lua/src/loadlib.c')
-rw-r--r--com32/lua/src/loadlib.c1
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 {