From: Remi Gacogne Date: Thu, 28 Jul 2016 09:08:43 +0000 (+0200) Subject: Fix `DNSProtoBufMessage::toDebugString()` without protobuf support X-Git-Tag: auth-4.0.1~7^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F4242%2Fhead;p=thirdparty%2Fpdns.git Fix `DNSProtoBufMessage::toDebugString()` without protobuf support Fixes #4240. --- diff --git a/pdns/protobuf.cc b/pdns/protobuf.cc index 248fd608de..d04fa2540b 100644 --- a/pdns/protobuf.cc +++ b/pdns/protobuf.cc @@ -151,6 +151,8 @@ std::string DNSProtoBufMessage::toDebugString() const { #ifdef HAVE_PROTOBUF return d_message.DebugString(); +#else + return std::string(); #endif /* HAVE_PROTOBUF */ }