diff options
author | Ivan Komissarov <ABBAPOH@gmail.com> | 2019-05-01 21:00:38 +0200 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2019-05-02 18:13:22 +0000 |
commit | f8ee1422db60190aaad63d967584b0ffc52e9fd8 (patch) | |
tree | 76e92fa4796eef5193b4581acc00053823101d26 /tests/fuzzy-test/commandlineparser.h | |
parent | 2a88460ace25208b3774ab0e32df3fa9d20452ea (diff) |
Fix uninitialized variables
This fixes most of clang analyzer warnings about uninitialized variables
in ctors
Change-Id: I879c785594307ed3fe7140588338a6b2a1e4db65
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/fuzzy-test/commandlineparser.h')
-rw-r--r-- | tests/fuzzy-test/commandlineparser.h | 6 |
1 files changed, 3 insertions, 3 deletions
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. |