From a98411c384ac171834f4d27526a96abc1a44a8b2 Mon Sep 17 00:00:00 2001 From: "jhawkins@chromium.org" Date: Fri, 11 Mar 2011 02:05:01 +0000 Subject: 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 --- chrome/browser/download/base_file.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'chrome/browser/download') 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() { -- cgit v1.1