commit 9e88b336b452e463945893f2f1ad4fae2352aa30
parent 0fae476ed4fd899809897d72343bc5b61afff158
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Fri, 30 Sep 2005 10:49:43 -0300
unused assignment
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/loadlib.c b/loadlib.c
@@ -1,5 +1,5 @@
/*
-** $Id: loadlib.c,v 1.43 2005/08/31 23:17:29 roberto Exp roberto $
+** $Id: loadlib.c,v 1.44 2005/09/06 17:20:25 roberto Exp roberto $
** Dynamic library loader for Lua
** See Copyright Notice in lua.h
**
@@ -624,8 +624,6 @@ LUALIB_API int luaopen_package (lua_State *L) {
lua_setfield(L, LUA_GLOBALSINDEX, "loadlib");
#endif
lua_pushvalue(L, -1);
- lua_setfield(L, LUA_REGISTRYINDEX, "_PACKAGE");
- lua_pushvalue(L, -1);
lua_replace(L, LUA_ENVIRONINDEX);
/* create `loaders' table */
lua_newtable(L);