From dda1a5b150aa26f2229e20fddcd33a6932b99d48 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Sun, 1 Nov 2015 14:42:47 +0100 Subject: [PATCH] silence unused var warning --- pdns/lua-pdns.cc | 1 - 1 file changed, 1 deletion(-) 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()); -- 2.40.0