From b5c4726f60cf3d6aa68b5e84f8e7ef160ddb8792 Mon Sep 17 00:00:00 2001 From: Tobias Schuele Date: Tue, 9 Jun 2015 17:19:00 +0200 Subject: [PATCH] Added initialization of atomic variable. --- containers_cpp/test/hazard_pointer_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers_cpp/test/hazard_pointer_test.cc b/containers_cpp/test/hazard_pointer_test.cc index 17a4c38..acbf99e 100644 --- a/containers_cpp/test/hazard_pointer_test.cc +++ b/containers_cpp/test/hazard_pointer_test.cc @@ -97,7 +97,7 @@ void HazardPointerTest::HazardPointerTest1_ThreadMethod() { PT_ASSERT(success == true); - embb::base::Atomic* allocated_object_from_different_thread; + embb::base::Atomic* allocated_object_from_different_thread(NULL); int diff_count = 0; -- libgit2 0.26.0