diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-19 11:02:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-08-19 13:00:44 +0100 |
commit | dd8e0a4280feacd3cc81326e53de36b188f798ec (patch) | |
tree | 97c0792339b0e4c4a853515601c28b9d70717deb /sal | |
parent | 55b4ca8b5e7283aafc7a539b629dc4c3dad8fb51 (diff) |
coverity#1371449 Uninitialized scalar field
Change-Id: I9e43b01f40cc325b83d23903fcec9010f848fb28
Diffstat (limited to 'sal')
-rw-r--r-- | sal/cppunittester/cppunittester.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sal/cppunittester/cppunittester.cxx b/sal/cppunittester/cppunittester.cxx index 2563d1bc698e..d08d5c0b1f26 100644 --- a/sal/cppunittester/cppunittester.cxx +++ b/sal/cppunittester/cppunittester.cxx @@ -86,7 +86,10 @@ class TimingListener : public CppUnit::TestListener { public: - TimingListener() = default; + TimingListener() + : m_nStartTime(0) + { + } TimingListener(const TimingListener&) = delete; TimingListener& operator=(const TimingListener&) = delete; |