diff --git a/src/bin/perfdhcp/tests/command_options_unittest.cc b/src/bin/perfdhcp/tests/command_options_unittest.cc index e9b98dfb47..1998b638c5 100644 --- a/src/bin/perfdhcp/tests/command_options_unittest.cc +++ b/src/bin/perfdhcp/tests/command_options_unittest.cc @@ -472,7 +472,6 @@ TEST_F(CommandOptionsTest, Base) { " -l 127.0.0.1 all")); std::vector v1 = opt.getMacTemplate(); std::vector 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.