aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2010-10-25 23:47:58 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2010-10-25 23:47:58 -0400
commitf8b39a92d84211c76a21f86cf974c759a544c7c5 (patch)
tree7202bc3de7f5e1de4e8239121bd094ee1c8a2f74
parent50646a695621ae25ddadf38a56218265e09a6b00 (diff)
downloadtextadept-f8b39a92d84211c76a21f86cf974c759a544c7c5.tar.gz
textadept-f8b39a92d84211c76a21f86cf974c759a544c7c5.zip
Fix compiler warning; src/textadept.c
-rw-r--r--src/textadept.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textadept.c b/src/textadept.c
index b7df6c27..64d85f9c 100644
--- a/src/textadept.c
+++ b/src/textadept.c
@@ -2025,7 +2025,7 @@ static int l_cf_reset(lua_State *lua) {
static gbool emit_timeout(gpointer data) {
int *refs = (int *)data;
lua_rawgeti(lua, LUA_REGISTRYINDEX, refs[0]); // function
- int nargs = 0, funcindex = lua_gettop(lua), repeat = TRUE;
+ int nargs = 0, repeat = TRUE;
while (refs[++nargs]) lua_rawgeti(lua, LUA_REGISTRYINDEX, refs[nargs]);
l_call_function(nargs - 1, 1, TRUE);
if (lua_toboolean(lua, -1) == 0 || lua_isnil(lua, -1)) {