This is an automated email from the ASF dual-hosted git repository.

pnoltes pushed a commit to branch feature/celix_err
in repository https://gitbox.apache.org/repos/asf/celix.git


The following commit(s) were added to refs/heads/feature/celix_err by this push:
     new 47659d6d Add init to celix thread in ThreadsTestSuite.cc
47659d6d is described below

commit 47659d6d7840a00f2576a0a5104dcf6933ae073c
Author: Pepijn Noltes <[email protected]>
AuthorDate: Tue May 2 19:41:08 2023 +0200

    Add init to celix thread in ThreadsTestSuite.cc
---
 libs/utils/gtest/src/ThreadsTestSuite.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libs/utils/gtest/src/ThreadsTestSuite.cc 
b/libs/utils/gtest/src/ThreadsTestSuite.cc
index 6c1773b9..fced5f19 100644
--- a/libs/utils/gtest/src/ThreadsTestSuite.cc
+++ b/libs/utils/gtest/src/ThreadsTestSuite.cc
@@ -95,7 +95,7 @@ TEST_F(ThreadsTestSuite, SelfTest) {
 }
 
 TEST_F(ThreadsTestSuite, InitializedTest) {
-    celix_thread_t thread;
+    celix_thread_t thread{};
     EXPECT_FALSE(celixThread_initialized(thread));
 
     celixThread_create(&thread, nullptr, thread_test_func_detach, nullptr);

Reply via email to