From: JINMEI Tatuya Date: Mon, 12 Mar 2012 23:22:15 +0000 (-0700) Subject: [master] removed an unused function. it fixes build failure with clang++. X-Git-Tag: trac2351_base~226^2~116^2~127^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=55d44fc94c8e0ddae7b9b383e7e29b9514ce23ff;p=thirdparty%2Fkea.git [master] removed an unused function. it fixes build failure with clang++. --- diff --git a/src/lib/dns/tests/labelsequence_unittest.cc b/src/lib/dns/tests/labelsequence_unittest.cc index 2e6ec33b07..98bb99c375 100644 --- a/src/lib/dns/tests/labelsequence_unittest.cc +++ b/src/lib/dns/tests/labelsequence_unittest.cc @@ -264,19 +264,6 @@ TEST_F(LabelSequenceTest, isAbsolute) { ASSERT_TRUE(ls3.isAbsolute()); } -// A helper function that constructs the textual representation of a name label -// character for the given char value in the form of \DDD -string -getNumericLabel(char ch) { - string result; - result.push_back(0x5c); // push '\' - result.push_back(0x30 + ((ch / 100) % 10)); // encode the 1st digit - result.push_back(0x30 + ((ch / 10) % 10)); // encode the 2nd digit - result.push_back(0x30 + (ch % 10)); // encode the 3rd digit - - return (result); -} - // The following are test data used in the getHash test below. Normally // we use example/documentation domain names for testing, but in this case // we'd specifically like to use more realistic data, and are intentionally