From 47602ac5569b77ad1781f8a257451b05fe180844 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Mon, 7 Jan 2019 18:55:33 +0100 Subject: [PATCH] RunContext: Uninit Member Fix an uninitialized member in `RunContext`. Found with coverity in a downstream project. --- include/internal/catch_run_context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/internal/catch_run_context.h b/include/internal/catch_run_context.h index 952ef147..259fecd3 100644 --- a/include/internal/catch_run_context.h +++ b/include/internal/catch_run_context.h @@ -128,7 +128,7 @@ namespace Catch { TestRunInfo m_runInfo; IMutableContext& m_context; TestCase const* m_activeTestCase = nullptr; - ITracker* m_testCaseTracker; + ITracker* m_testCaseTracker = nullptr; Option m_lastResult; IConfigPtr m_config;