From 54bdb1ca7aae43a8a216ba5824b996b0b442e716 Mon Sep 17 00:00:00 2001 From: Determinant Date: Fri, 22 May 2015 14:02:08 +0800 Subject: remove unnecessary pushvalue --- nerv.c | 1 - 1 file changed, 1 deletion(-) (limited to 'nerv.c') diff --git a/nerv.c b/nerv.c index aa808c3..3dc9895 100644 --- a/nerv.c +++ b/nerv.c @@ -7,7 +7,6 @@ extern void nerv_matrix_init(lua_State *L); int luaopen_libnerv(lua_State *L) { lua_newtable(L); - lua_pushvalue(L, -1); lua_setfield(L, LUA_GLOBALSINDEX, "nerv"); nerv_point_init(L); nerv_matrix_init(L); -- cgit v1.2.3-70-g09d2