lua: remove spurious debug printf
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
d2f38d4051
commit
125c259204
2
lua.c
2
lua.c
|
@ -423,7 +423,6 @@ luaA_otable_newindex(lua_State *L)
|
|||
|
||||
if((obj = lua_touserdata(L, 2)))
|
||||
{
|
||||
printf("looking for %p\n", *obj);
|
||||
/* begins at nil */
|
||||
lua_pushnil(L);
|
||||
while(lua_next(L, 1))
|
||||
|
@ -431,7 +430,6 @@ luaA_otable_newindex(lua_State *L)
|
|||
if((v = lua_touserdata(L, -2))
|
||||
&& *v == *obj)
|
||||
{
|
||||
printf("found %p, replace\n", *v);
|
||||
/* remove value */
|
||||
lua_pop(L, 1);
|
||||
/* push new value on top */
|
||||
|
|
Loading…
Reference in New Issue