]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2850] removed unused functions
authorJINMEI Tatuya <jinmei@isc.org>
Thu, 2 May 2013 22:42:36 +0000 (15:42 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Thu, 2 May 2013 22:42:36 +0000 (15:42 -0700)
src/lib/datasrc/tests/memory/zone_table_segment_mapped_unittest.cc
src/lib/datasrc/tests/memory/zone_table_segment_unittest.cc

index 6a32538ecd0f7a213a772ad60efc5c1e5d427d6d..388cf4e11a6f488c5056dd20c0d579e6ea50071a 100644 (file)
@@ -74,12 +74,6 @@ TEST_F(ZoneTableSegmentMappedTest, isWritableUninitialized) {
     EXPECT_FALSE(ztable_segment_->isWritable());
 }
 
-ZoneData*
-loadAction(MemorySegment&) {
-    // The function won't be called, so this is OK
-    return (NULL);
-}
-
 TEST_F(ZoneTableSegmentMappedTest, resetBadConfig) {
     // Not a map
     EXPECT_THROW({
index 1a571338df9fa31f9639b715d2e23797192c3063..d8d5d06b74c2c453bfa15f6742535f9d6cb941bd 100644 (file)
@@ -85,12 +85,6 @@ TEST_F(ZoneTableSegmentTest, getMemorySegment) {
     mem_sgmt.allMemoryDeallocated(); // use mem_sgmt
 }
 
-ZoneData*
-loadAction(MemorySegment&) {
-    // The function won't be called, so this is OK
-    return (NULL);
-}
-
 TEST_F(ZoneTableSegmentTest, isWritable) {
     // Local segments are always writable.
     EXPECT_TRUE(ztable_segment_->isWritable());