From 25220a03367f10646ac51299cf51cb06668821bc Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Tue, 29 May 2018 16:14:16 +0200 Subject: [PATCH] rec: Remove unused lambda capture 'checkOnly' in the rpzMaster() --- pdns/rec-lua-conf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/rec-lua-conf.cc b/pdns/rec-lua-conf.cc index eff6ecb677..daa2542009 100644 --- a/pdns/rec-lua-conf.cc +++ b/pdns/rec-lua-conf.cc @@ -139,7 +139,7 @@ void loadRecursorLuaConfig(const std::string& fname, bool checkOnly) } }); - Lua.writeFunction("rpzMaster", [&lci, &rpzMasterThreads, checkOnly](const string& master_, const string& zoneName, const boost::optional>>& options) { + Lua.writeFunction("rpzMaster", [&lci, &rpzMasterThreads](const string& master_, const string& zoneName, const boost::optional>>& options) { boost::optional defpol; std::shared_ptr zone = std::make_shared(); -- 2.47.2