mirror of
https://github.com/owntracks/recorder.git
synced 2024-11-16 02:18:27 -07:00
unused variable
This commit is contained in:
parent
f43275d93e
commit
5007a4ad88
4
hooks.c
4
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;
|
||||
|
Loading…
Reference in New Issue
Block a user