From 5007a4ad8887db1f3df4a028ca6ae5ddb224b567 Mon Sep 17 00:00:00 2001 From: Jan-Piet Mens Date: Fri, 25 Sep 2015 18:49:15 +0200 Subject: [PATCH] unused variable --- hooks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hooks.c b/hooks.c index fa0f9df..098c985 100644 --- a/hooks.c +++ b/hooks.c @@ -261,12 +261,12 @@ static int otr_getdb(lua_State *lua) { char buf[BUFSIZ]; const char *key; - int blen, rc = 0; + int rc = 0; if (lua_gettop(lua) >= 1) { key = lua_tostring(lua, 1); - blen = gcache_get(LuaDB, (char *)key, buf, sizeof(buf)); + gcache_get(LuaDB, (char *)key, buf, sizeof(buf)); // printf("K=[%s], blen=%d\n", key, blen); lua_pushstring(lua, buf); rc = 1;