summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-11 05:46:57 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-11 05:46:57 +0000
commit135f9f3b92182deb629a5d161d5b656eea9b0c15 (patch)
tree0f3b7acf020b269cc3e6c20227efb882090430ff /net
parentd56aef7f55220a0654655c691e5adcc1a1dd0cd8 (diff)
downloadchromium_src-135f9f3b92182deb629a5d161d5b656eea9b0c15.zip
chromium_src-135f9f3b92182deb629a5d161d5b656eea9b0c15.tar.gz
chromium_src-135f9f3b92182deb629a5d161d5b656eea9b0c15.tar.bz2
Fix Coverity UNINIT_CTOR defect in the ChildrenDeleter constructor.
R=rvargas CID=13450 BUG=none TEST=none Review URL: http://codereview.chromium.org/6495003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74565 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 ebc8250..bd8908f 100644
--- a/net/disk_cache/sparse_control.cc
+++ b/net/disk_cache/sparse_control.cc
@@ -52,7 +52,7 @@ class ChildrenDeleter
public disk_cache::FileIOCallback {
public:
ChildrenDeleter(disk_cache::BackendImpl* backend, const std::string& name)
- : backend_(backend->GetWeakPtr()), name_(name) {}
+ : backend_(backend->GetWeakPtr()), name_(name), signature_(0) {}
virtual void OnFileIOComplete(int bytes_copied);