]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] removed an unused function. it fixes build failure with clang++.
authorJINMEI Tatuya <jinmei@isc.org>
Mon, 12 Mar 2012 23:22:15 +0000 (16:22 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Mon, 12 Mar 2012 23:22:15 +0000 (16:22 -0700)
src/lib/dns/tests/labelsequence_unittest.cc

index 2e6ec33b07c9388c65c37a1b1ea3b09c2141142e..98bb99c375ad545fa0bcebbef22a343433816bd2 100644 (file)
@@ -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