Browse Source

[2387] Remove some redundant variables that shadow the member variable

Mukund Sivaraman 12 years ago
parent
commit
ad6d161076
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/lib/dns/tests/rdata_nsec3_unittest.cc

+ 0 - 2
src/lib/dns/tests/rdata_nsec3_unittest.cc

@@ -167,7 +167,6 @@ TEST_F(Rdata_NSEC3_Test, createFromWire) {
 }
 
 TEST_F(Rdata_NSEC3_Test, createFromLexer) {
-    const generic::NSEC3 rdata_nsec3(nsec3_txt);
     EXPECT_EQ(0, rdata_nsec3.compare(
         *test::createRdataUsingLexer(RRType::NSEC3(), RRClass::IN(),
                                      nsec3_txt)));
@@ -180,7 +179,6 @@ TEST_F(Rdata_NSEC3_Test, createFromLexer) {
 }
 
 TEST_F(Rdata_NSEC3_Test, assign) {
-    generic::NSEC3 rdata_nsec3(nsec3_txt);
     generic::NSEC3 other_nsec3 = rdata_nsec3;
     EXPECT_EQ(0, rdata_nsec3.compare(other_nsec3));
 }