diff --git a/test/BaseTest.cpp b/test/BaseTest.cpp index 26c83e275..ea7ad1c36 100644 --- a/test/BaseTest.cpp +++ b/test/BaseTest.cpp @@ -274,7 +274,7 @@ void F::start_client() void F::stop_client (std::unique_lock &lock) { - bool wasLocked; + bool wasLocked = false; if (lock) { wasLocked = true;