From f8ee1422db60190aaad63d967584b0ffc52e9fd8 Mon Sep 17 00:00:00 2001 From: Ivan Komissarov Date: Wed, 1 May 2019 21:00:38 +0200 Subject: Fix uninitialized variables This fixes most of clang analyzer warnings about uninitialized variables in ctors Change-Id: I879c785594307ed3fe7140588338a6b2a1e4db65 Reviewed-by: Denis Shienkov Reviewed-by: Christian Kandeler --- tests/fuzzy-test/commandlineparser.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/fuzzy-test/commandlineparser.h') diff --git a/tests/fuzzy-test/commandlineparser.h b/tests/fuzzy-test/commandlineparser.h index fa6098e59..54b80c7cb 100644 --- a/tests/fuzzy-test/commandlineparser.h +++ b/tests/fuzzy-test/commandlineparser.h @@ -68,9 +68,9 @@ private: QString m_command; QString m_profile; QString m_startCommit; - int m_maxDuration; - int m_jobCount; - bool m_log; + int m_maxDuration = 0; + int m_jobCount = 0; + bool m_log = false; }; #endif // Include guard. -- cgit v1.2.3