summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-23 22:18:58 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-23 22:18:58 +0000
commit622db2831b0e9b5acf937e36e7391e1c3b61a0a8 (patch)
treea23119fcf595d7d599df85f21a79d977ab03712e /net
parent1d3a6d08fcc0759fdd589e48a85f3331cc9f7a98 (diff)
downloadchromium_src-622db2831b0e9b5acf937e36e7391e1c3b61a0a8.zip
chromium_src-622db2831b0e9b5acf937e36e7391e1c3b61a0a8.tar.gz
chromium_src-622db2831b0e9b5acf937e36e7391e1c3b61a0a8.tar.bz2
Disk Cache: Fix a dumb warning about a variable not being initialized.
TBR=nsylvain BUG=none Review URL: http://codereview.chromium.org/146054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19071 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/disk_cache/sparse_control.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/sparse_control.cc b/net/disk_cache/sparse_control.cc
index b94f0c5..461e0fa 100644
--- a/net/disk_cache/sparse_control.cc
+++ b/net/disk_cache/sparse_control.cc
@@ -361,7 +361,7 @@ bool SparseControl::DoChildIO() {
finished_ = false;
net::CompletionCallback* callback = user_callback_ ? &child_callback_ : NULL;
- int rv;
+ int rv = 0;
switch (operation_) {
case kReadOperation:
rv = child_->ReadData(kSparseData, child_offset_, user_buf_, child_len_,