summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/sparse_control.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/disk_cache/sparse_control.cc')
-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_,