summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-02-17 22:54:06 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-02-17 23:15:52 -0600
commit34af1079f4ee6b63bdb6c634c3c5b6893e92bc1e (patch)
treeb015d0e01e30fa0c7b564fb05b68cdb44461ef25 /sal
parentdd0081bdff211e551eac4ac5a36b60f92b57ef86 (diff)
coverity#984130 Uninitialized scalar field
Change-Id: I6ebb1078c44b5fc0140ee59dc16a2bd7c7188453
Diffstat (limited to 'sal')
-rw-r--r--sal/qa/osl/process/osl_Thread.cxx10
1 files changed, 9 insertions, 1 deletions
diff --git a/sal/qa/osl/process/osl_Thread.cxx b/sal/qa/osl/process/osl_Thread.cxx
index c45b554ad3c6..f252556524a3 100644
--- a/sal/qa/osl/process/osl_Thread.cxx
+++ b/sal/qa/osl/process/osl_Thread.cxx
@@ -78,7 +78,15 @@ public:
// A small stopwatch for internal use
// (c) Lars Langhans 29.12.1996 22:10
-StopWatch::StopWatch():m_bIsValid(false),m_bIsRunning(false) {}
+StopWatch::StopWatch()
+ : m_nNanoSec(0)
+ , m_nSeconds(0)
+ , m_bIsValid(false)
+ , m_bIsRunning(false)
+{
+ t1 = {0, 0};
+ t2 = {0, 0};
+}
void StopWatch::start()
{