unused variable

This commit is contained in:
Jan-Piet Mens 2015-09-25 18:49:15 +02:00
parent f43275d93e
commit 5007a4ad88

View File

@ -261,12 +261,12 @@ static int otr_getdb(lua_State *lua)
{ {
char buf[BUFSIZ]; char buf[BUFSIZ];
const char *key; const char *key;
int blen, rc = 0; int rc = 0;
if (lua_gettop(lua) >= 1) { if (lua_gettop(lua) >= 1) {
key = lua_tostring(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); // printf("K=[%s], blen=%d\n", key, blen);
lua_pushstring(lua, buf); lua_pushstring(lua, buf);
rc = 1; rc = 1;