From c14825851543b83dd51a1fb0cabdc6f0536e2271 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Tue, 3 Dec 2013 09:31:18 +0100 Subject: [PATCH] drop unused vars, thanks Morten Stevens --- modules/luabackend/dnssec.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/luabackend/dnssec.cc b/modules/luabackend/dnssec.cc index 3529a08d0..0988b2887 100644 --- a/modules/luabackend/dnssec.cc +++ b/modules/luabackend/dnssec.cc @@ -405,7 +405,6 @@ bool LUABackend::getDomainKeys(const string& name, unsigned int kind, std::vecto lua_pushnil(lua); - int key; int j = 0; while (lua_next(lua, -2)) { @@ -426,7 +425,6 @@ bool LUABackend::getDomainKeys(const string& name, unsigned int kind, std::vecto } lua_pop(lua,1); - key = lua_tonumber(lua, -1); } if(logging) @@ -550,7 +548,6 @@ bool LUABackend::getDomainMetadata(const string& name, const std::string& kind, lua_pushnil(lua); - int key; int j = 0; size_t returnedwhat; @@ -562,7 +559,6 @@ bool LUABackend::getDomainMetadata(const string& name, const std::string& kind, } lua_pop(lua,1); - key = lua_tonumber(lua, -1); } if(logging) @@ -594,7 +590,6 @@ void LUABackend::alsoNotifies(const string &domain, set *ips) { lua_pushnil(lua); - int key; size_t returnedwhat; while (lua_next(lua, -2)) { @@ -604,7 +599,6 @@ void LUABackend::alsoNotifies(const string &domain, set *ips) { } lua_pop(lua,1); - key = lua_tonumber(lua, -1); } if(logging) -- 2.40.0