From: Aki Tuomi Date: Fri, 10 May 2013 13:58:02 +0000 (+0300) Subject: Removed unused function X-Git-Tag: auth-3.3-rc1~69^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F793%2Fhead;p=thirdparty%2Fpdns.git Removed unused function --- diff --git a/pdns/test-dnsrecords_cc.cc b/pdns/test-dnsrecords_cc.cc index a08fc98ffe..fa79b181e8 100644 --- a/pdns/test-dnsrecords_cc.cc +++ b/pdns/test-dnsrecords_cc.cc @@ -11,24 +11,6 @@ using namespace std; BOOST_AUTO_TEST_SUITE(dnsrecords_cc) -#include - -std::string string_to_hex(const std::string& input) -{ - static const char* const lut = "0123456789ABCDEF"; - size_t len = input.length(); - - std::string output; - output.reserve(2 * len); - for (size_t i = 0; i < len; ++i) - { - const unsigned char c = input[i]; - output.push_back(lut[c >> 4]); - output.push_back(lut[c & 15]); - } - return output; -} - BOOST_AUTO_TEST_CASE(test_record_types) { typedef boost::tuple case_t; typedef std::list cases_t; @@ -55,5 +37,3 @@ BOOST_AUTO_TEST_CASE(test_record_types) { } BOOST_AUTO_TEST_SUITE_END() - -