From: bert hubert Date: Wed, 5 Feb 2014 10:21:50 +0000 (+0100) Subject: silence warning on JSON getproduct calls. X-Git-Tag: rec-3.6.0-rc1~202 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4c9bcf618a13e2aeba995f7a23c45662980ee5d;p=thirdparty%2Fpdns.git silence warning on JSON getproduct calls. --- diff --git a/pdns/version.cc b/pdns/version.cc index a066d17777..886418251f 100644 --- a/pdns/version.cc +++ b/pdns/version.cc @@ -45,6 +45,7 @@ string productName() { case ProductRecursor: return "PowerDNS Recursor"; }; + return "Unknown"; } // REST API product type @@ -55,6 +56,7 @@ string productTypeApiType() { case ProductRecursor: return "recursor"; }; + return "unknown"; } void showProductVersion()