lua: remove a superfluous lua_pop() when checking table style
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 17 Oct 2012 13:32:26 +0000 (15:32 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 17 Oct 2012 13:32:26 +0000 (15:32 +0200)
lua/ubus.c

index bdf924a..cbda37a 100644 (file)
@@ -152,7 +152,6 @@ ubus_lua_format_blob_is_array(lua_State *L)
                prv = cur;
        }
 
                prv = cur;
        }
 
-       lua_pop(L, 1);
        return true;
 }
 
        return true;
 }