From: bert hubert Date: Sun, 1 Nov 2015 13:42:47 +0000 (+0100) Subject: silence unused var warning X-Git-Tag: dnsdist-1.0.0-alpha1~261 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dda1a5b150aa26f2229e20fddcd33a6932b99d48;p=pdns silence unused var warning --- diff --git a/pdns/lua-pdns.cc b/pdns/lua-pdns.cc index 18e955260..85dc2e518 100644 --- a/pdns/lua-pdns.cc +++ b/pdns/lua-pdns.cc @@ -88,7 +88,6 @@ static bool getFromTable(lua_State *lua, const std::string &key, uint32_t& value void pushLuaTable(lua_State* lua, const vector>& table) { lua_newtable(lua); - int pos=0; for(const auto& e : table) { lua_pushstring(lua, e.second.c_str()); lua_setfield(lua, -2, e.first.c_str());