From abbf4bbac9b9d4d20e42a8499e5828b5602ac7cb Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Fri, 10 Aug 2018 10:02:58 +0200 Subject: [PATCH] rec: Fix a warning about parseProtobufOptions() being unused --- pdns/rec-lua-conf.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pdns/rec-lua-conf.cc b/pdns/rec-lua-conf.cc index d8ca13de2..513001e18 100644 --- a/pdns/rec-lua-conf.cc +++ b/pdns/rec-lua-conf.cc @@ -81,6 +81,7 @@ static void parseRPZParameters(const std::unordered_map > protobufOptions_t; static void parseProtobufOptions(boost::optional vars, ProtobufExportConfig& config) @@ -117,6 +118,7 @@ static void parseProtobufOptions(boost::optional vars, Protob config.logResponses = boost::get((*vars)["logResponses"]); } } +#endif /* HAVE_PROTOBUF */ void loadRecursorLuaConfig(const std::string& fname, luaConfigDelayedThreads& delayedThreads) { -- 2.40.0