diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-16 22:20:44 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-16 22:20:44 +0000 |
commit | 30a06c142de3b9198a44251b1ccc11fa838ef7ef (patch) | |
tree | e7ad7f6460ac26e6ae02688361b4becdeb9a7e64 /base/simple_thread.cc | |
parent | cfc06f12ec93799d758164c22b4e53125eaade8d (diff) | |
download | chromium_src-30a06c142de3b9198a44251b1ccc11fa838ef7ef.zip chromium_src-30a06c142de3b9198a44251b1ccc11fa838ef7ef.tar.gz chromium_src-30a06c142de3b9198a44251b1ccc11fa838ef7ef.tar.bz2 |
Linux: fix uninit warnings when building -Os.
http://codereview.chromium.org/401002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32105 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/simple_thread.cc')
-rw-r--r-- | base/simple_thread.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/simple_thread.cc b/base/simple_thread.cc index f919562..6d531a2 100644 --- a/base/simple_thread.cc +++ b/base/simple_thread.cc @@ -89,7 +89,7 @@ void DelegateSimpleThreadPool::AddWork(Delegate* delegate, int repeat_count) { } void DelegateSimpleThreadPool::Run() { - Delegate* work; + Delegate* work = NULL; while (true) { dry_.Wait(); |