From e849a926863947c7bdc47566f7ef9236557776a4 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Fri, 10 May 2013 16:58:02 +0300 Subject: [PATCH] Removed unused function --- pdns/test-dnsrecords_cc.cc | 20 -------------------- 1 file changed, 20 deletions(-) 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() - - -- 2.47.2