Browse Source

[3919] Removed spurious v2 assignment

Francis Dupont 10 years ago
parent
commit
b0958885ec
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/bin/perfdhcp/tests/command_options_unittest.cc

+ 0 - 1
src/bin/perfdhcp/tests/command_options_unittest.cc

@@ -472,7 +472,6 @@ TEST_F(CommandOptionsTest, Base) {
                             " -l 127.0.0.1 all"));
     std::vector<uint8_t> v1 = opt.getMacTemplate();
     std::vector<uint8_t> v2 = opt.getDuidTemplate();
-    v2 = opt.getDuidTemplate();
     EXPECT_TRUE(std::equal(v1.begin(), v1.end(), mac));
     EXPECT_TRUE(std::equal(v2.begin(), v2.end(), duid));
     // Test valid DUID.