From d405a2af9545b273f9ea2b78a08d6ace26308a83 Mon Sep 17 00:00:00 2001 From: Marcus Winter Date: Tue, 23 Feb 2016 14:58:22 +0100 Subject: [PATCH] base_cpp: removed redundant assignment in test --- base_cpp/test/atomic_test.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/base_cpp/test/atomic_test.cc b/base_cpp/test/atomic_test.cc index 580859c..6ea270e 100644 --- a/base_cpp/test/atomic_test.cc +++ b/base_cpp/test/atomic_test.cc @@ -173,10 +173,6 @@ AtomicTest::TestStressSwap::TestStressSwap( size_t number_threads, size_t number_iterations) : TestUnit("Swap Stress test for Atomics"), swap1_counter(1) , swap2_counter(2) { - bitsets[0] = std::bitset(); - bitsets[1] = std::bitset(); - bitsets[2] = std::bitset(); - PT_ASSERT(number_threads == 1); Pre(&TestStressSwap::Init, this); -- libgit2 0.26.0