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 bdf924a03e1b4891d500cced6a1c6b412f2d05aa..cbda37a5fd3e2dec65a4f1d58c0aa9717decba47 100644 (file)
@@ -152,7 +152,6 @@ ubus_lua_format_blob_is_array(lua_State *L)
                prv = cur;
        }
 
-       lua_pop(L, 1);
        return true;
 }