diff options
author | 2010-10-25 23:47:58 -0400 | |
---|---|---|
committer | 2010-10-25 23:47:58 -0400 | |
commit | f8b39a92d84211c76a21f86cf974c759a544c7c5 (patch) | |
tree | 7202bc3de7f5e1de4e8239121bd094ee1c8a2f74 /src | |
parent | 50646a695621ae25ddadf38a56218265e09a6b00 (diff) | |
download | textadept-f8b39a92d84211c76a21f86cf974c759a544c7c5.tar.gz textadept-f8b39a92d84211c76a21f86cf974c759a544c7c5.zip |
Fix compiler warning; src/textadept.c
Diffstat (limited to 'src')
-rw-r--r-- | src/textadept.c | 2 |
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)) { |