summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authorrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-30 02:00:36 +0000
committerrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-30 02:00:36 +0000
commitcfe7f8a1dc12bea6799a4cd9df87c363629b9e8a (patch)
treec888dd89962533d058a4ce57625aa5b99aba30b4 /net/base
parent532c7fb7070bc17fb0f7119e64b4e99baa984d44 (diff)
downloadchromium_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.cc2
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,