diff options
author | kmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-18 17:36:54 +0000 |
---|---|---|
committer | kmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-18 17:36:54 +0000 |
commit | c3a7bceb912a3c934724a31871a84991cdcf74c3 (patch) | |
tree | 8aaf6abdb8f1193e3967019410d2da20e33d7fb2 /net/disk_cache | |
parent | 9e8c2cc2dc661ca3b5275a2093281cf14ffaae2e (diff) | |
download | chromium_src-c3a7bceb912a3c934724a31871a84991cdcf74c3.zip chromium_src-c3a7bceb912a3c934724a31871a84991cdcf74c3.tar.gz chromium_src-c3a7bceb912a3c934724a31871a84991cdcf74c3.tar.bz2 |
Coverity: Initialize data members in constructor.
CID=1634, 11587, 5007, 13234, 13398, 9295, 8294, 8285
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3817007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62945 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache')
-rw-r--r-- | net/disk_cache/file_posix.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/disk_cache/file_posix.cc b/net/disk_cache/file_posix.cc index 44d74e7..9d810c7 100644 --- a/net/disk_cache/file_posix.cc +++ b/net/disk_cache/file_posix.cc @@ -250,7 +250,10 @@ void InFlightIO::InvokeCallback(BackgroundIO* operation, bool cancel_task) { namespace disk_cache { File::File(base::PlatformFile file) - : init_(true), mixed_(true), platform_file_(file) { + : init_(true), + mixed_(true), + platform_file_(file), + sync_platform_file_(base::kInvalidPlatformFileValue) { } bool File::Init(const FilePath& name) { |