diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-08-19 13:22:20 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-08-19 13:22:20 +0100 |
commit | 098113caf8d1db6a85ddb42aeadfb26298550fab (patch) | |
tree | 8c16134ab10fc692d86758c330c32e349e29f68e /src/lua/lua_ip.c | |
parent | d8f735c3d602e961936c1f783c42917a9e6a869c (diff) | |
download | rspamd-098113caf8d1db6a85ddb42aeadfb26298550fab.tar.gz rspamd-098113caf8d1db6a85ddb42aeadfb26298550fab.zip |
Remove unused variable.
Diffstat (limited to 'src/lua/lua_ip.c')
-rw-r--r-- | src/lua/lua_ip.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lua/lua_ip.c b/src/lua/lua_ip.c index b0ffe1401..fba1cd1cb 100644 --- a/src/lua/lua_ip.c +++ b/src/lua/lua_ip.c @@ -411,11 +411,10 @@ lua_ip_equal (lua_State *L) static gint lua_ip_copy (lua_State *L) { - struct rspamd_lua_ip *ip = lua_check_ip (L, 1), - *nip; + struct rspamd_lua_ip *ip = lua_check_ip (L, 1); if (ip) { - nip = lua_ip_new (L, ip); + lua_ip_new (L, ip); } else { lua_pushnil (L); |