about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-11-28 11:08:43 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-11-28 11:10:34 -0800
commitc015ffe40ad743858ff32e1ca5441fb9e9379428 (patch)
treed11c48f1459e552c168d0e7a6877c7e8ec213d19 /src
parent2f3c800a49f41d5f379cc09dcc3c8b15b1176526 (diff)
downloadteliva-c015ffe40ad743858ff32e1ca5441fb9e9379428.tar.gz
unused variable
Diffstat (limited to 'src')
-rw-r--r--src/lua.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lua.c b/src/lua.c
index 1d21380..e4a4394 100644
--- a/src/lua.c
+++ b/src/lua.c
@@ -941,7 +941,6 @@ int load_view_from_editor_state (lua_State *L) {
   }
   lua_getfield(L, editor_state_index, "definition");
   const char *definition = lua_tostring(L, -1);
-  int before = lua_gettop(L);
   save_to_current_definition_and_editor_buffer(L, definition);
   lua_getfield(L, editor_state_index, "rowoff");
   int rowoff = lua_tointeger(L, -1);