Backed out changeset a3a4ed0d34f4 C99 is ok
authorKim Alvefur <zash@zash.se>
Thu, 02 Mar 2017 00:46:32 +0100
changeset 7939 582bfb39337f
parent 7938 96fa5ef5d613
child 7940 5b03a8003659
Backed out changeset a3a4ed0d34f4 C99 is ok
util-src/table.c
--- a/util-src/table.c	Thu Mar 02 00:27:46 2017 +0100
+++ b/util-src/table.c	Thu Mar 02 00:46:32 2017 +0100
@@ -7,12 +7,11 @@
 }
 
 static int Lpack(lua_State *L) {
-	int arg;
 	unsigned int n_args = lua_gettop(L);
 	lua_createtable(L, n_args, 1);
 	lua_insert(L, 1);
 
-	for(arg = n_args; arg >= 1; arg--) {
+	for(int arg = n_args; arg >= 1; arg--) {
 		lua_rawseti(L, 1, arg);
 	}