diff options
author | rtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-30 02:00:36 +0000 |
---|---|---|
committer | rtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-30 02:00:36 +0000 |
commit | cfe7f8a1dc12bea6799a4cd9df87c363629b9e8a (patch) | |
tree | c888dd89962533d058a4ce57625aa5b99aba30b4 /net/base | |
parent | 532c7fb7070bc17fb0f7119e64b4e99baa984d44 (diff) | |
download | chromium_src-cfe7f8a1dc12bea6799a4cd9df87c363629b9e8a.zip chromium_src-cfe7f8a1dc12bea6799a4cd9df87c363629b9e8a.tar.gz chromium_src-cfe7f8a1dc12bea6799a4cd9df87c363629b9e8a.tar.bz2 |
Initialize os_error to 0.
BUG=73327
TEST=dns host resolver tests
TBR=jar
Review URL: http://codereview.chromium.org/6905154
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83653 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r-- | net/base/host_resolver_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/base/host_resolver_impl.cc b/net/base/host_resolver_impl.cc index f606c65..e73073f 100644 --- a/net/base/host_resolver_impl.cc +++ b/net/base/host_resolver_impl.cc @@ -501,7 +501,7 @@ class HostResolverImpl::Job void DoLookup(const base::TimeTicks& start_time, const uint32 attempt_number) { AddressList results; - int os_error; + int os_error = 0; // Running on the worker thread int error = ResolveAddrInfo(resolver_proc_, key_.hostname, |