aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-05-22 14:02:08 +0800
committerDeterminant <[email protected]>2015-05-22 14:02:08 +0800
commit54bdb1ca7aae43a8a216ba5824b996b0b442e716 (patch)
treef8f4178851ba732d4d1cd5f40c9ea14238cd388f
parent6c0671929f24f296c51568ae3d5c93a3e4d5518f (diff)
remove unnecessary pushvalue
-rw-r--r--nerv.c1
1 files changed, 0 insertions, 1 deletions
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);