commit ba8dca00ac1e88d7f083dfccf0badd0b6345e700
parent 9be89a1864a4a8c6505e3f1c3457831893b66d27
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Fri, 29 Oct 2010 12:34:45 -0200
detail (ununsed parameter)
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/loadlib.c b/loadlib.c
@@ -1,5 +1,5 @@
/*
-** $Id: loadlib.c,v 1.90 2010/08/02 17:14:48 roberto Exp roberto $
+** $Id: loadlib.c,v 1.91 2010/09/07 19:21:39 roberto Exp roberto $
** Dynamic library loader for Lua
** See Copyright Notice in lua.h
**
@@ -177,7 +177,7 @@ static void ll_unloadlib (void *lib) {
static void *ll_load (lua_State *L, const char *path, int seeglb) {
HMODULE lib = LoadLibraryExA(path, NULL, LUA_LLE_FLAGS);
- (void)(seeglb); /* symbols are 'global' by default? */
+ (void)(seeglb); /* symbols are 'global' by default */
if (lib == NULL) pusherror(L);
return lib;
}
@@ -212,7 +212,7 @@ static void ll_unloadlib (void *lib) {
static void *ll_load (lua_State *L, const char *path, int seeglb) {
- (void)(path); /* to avoid warnings */
+ (void)(path); (void)(seeglb); /* to avoid warnings */
lua_pushliteral(L, DLMSG);
return NULL;
}