]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[4326] Addressed coverity CID 1202723
authorFrancis Dupont <fdupont@isc.org>
Sun, 13 Mar 2016 18:03:43 +0000 (19:03 +0100)
committerFrancis Dupont <fdupont@isc.org>
Sun, 13 Mar 2016 18:03:43 +0000 (19:03 +0100)
src/lib/util/threads/thread.cc

index aa15e1d13d3c17e903f532366451b27f6e6088a7..a4501c79f190a13cd0ba68572bb48c3c2830e261 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012-2016 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -66,7 +66,8 @@ public:
         // and the creating thread needs to release it.
         waiting_(2),
         main_(main),
-        exception_(false)
+        exception_(false),
+       tid_(0)
     {}
     // Another of the waiting events is done. If there are no more, delete
     // impl.