summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-08-19 13:22:20 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-08-19 13:22:20 +0100
commit098113caf8d1db6a85ddb42aeadfb26298550fab (patch)
tree8c16134ab10fc692d86758c330c32e349e29f68e /src
parentd8f735c3d602e961936c1f783c42917a9e6a869c (diff)
downloadrspamd-098113caf8d1db6a85ddb42aeadfb26298550fab.tar.gz
rspamd-098113caf8d1db6a85ddb42aeadfb26298550fab.zip
Remove unused variable.
Diffstat (limited to 'src')
-rw-r--r--src/lua/lua_ip.c5
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);