diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-11 02:05:01 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-11 02:05:01 +0000 |
commit | a98411c384ac171834f4d27526a96abc1a44a8b2 (patch) | |
tree | f5f520f6764df854d0b193257585279cc2425ebf /chrome/browser/download | |
parent | 639211895adb7db5164bfab8b607a9b51ce66f1a (diff) | |
download | chromium_src-a98411c384ac171834f4d27526a96abc1a44a8b2.zip chromium_src-a98411c384ac171834f4d27526a96abc1a44a8b2.tar.gz chromium_src-a98411c384ac171834f4d27526a96abc1a44a8b2.tar.bz2 |
Coverity: Initialize member variables.
CID=11644,14447,14816,15428
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6670016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77763 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download')
-rw-r--r-- | chrome/browser/download/base_file.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/download/base_file.cc b/chrome/browser/download/base_file.cc index 1fcf278..9229aca 100644 --- a/chrome/browser/download/base_file.cc +++ b/chrome/browser/download/base_file.cc @@ -32,6 +32,7 @@ BaseFile::BaseFile(const FilePath& full_path, power_save_blocker_(true), calculate_hash_(false) { DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); + memset(sha256_hash_, 0, sizeof(sha256_hash_)); } BaseFile::~BaseFile() { |