From 37a4210aa516fedb11184644e5d61f76b08150a2 Mon Sep 17 00:00:00 2001 From: "finnur@chromium.org" Date: Thu, 5 Aug 2010 21:33:44 +0000 Subject: Uninitialized member variable. BUG=None TEST=None CID=12129 Review URL: http://codereview.chromium.org/3074032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55131 0039d316-1c4b-4281-b951-d872f2087c98 --- base/platform_thread_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base') diff --git a/base/platform_thread_unittest.cc b/base/platform_thread_unittest.cc index 67dce15..9875aa8 100644 --- a/base/platform_thread_unittest.cc +++ b/base/platform_thread_unittest.cc @@ -54,7 +54,7 @@ TEST_F(PlatformThreadTest, TrivialTimesTen) { class FunctionTestThread : public TrivialThread { public: - FunctionTestThread() {} + FunctionTestThread() : thread_id_(0) {} virtual void ThreadMain() { thread_id_ = PlatformThread::CurrentId(); -- cgit v1.1