lua: remove spurious debug printf

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-08-12 11:46:45 +02:00
parent d2f38d4051
commit 125c259204
1 changed files with 0 additions and 2 deletions

2
lua.c
View File

@ -423,7 +423,6 @@ luaA_otable_newindex(lua_State *L)
if((obj = lua_touserdata(L, 2))) if((obj = lua_touserdata(L, 2)))
{ {
printf("looking for %p\n", *obj);
/* begins at nil */ /* begins at nil */
lua_pushnil(L); lua_pushnil(L);
while(lua_next(L, 1)) while(lua_next(L, 1))
@ -431,7 +430,6 @@ luaA_otable_newindex(lua_State *L)
if((v = lua_touserdata(L, -2)) if((v = lua_touserdata(L, -2))
&& *v == *obj) && *v == *obj)
{ {
printf("found %p, replace\n", *v);
/* remove value */ /* remove value */
lua_pop(L, 1); lua_pop(L, 1);
/* push new value on top */ /* push new value on top */