diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-23 22:42:05 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-23 22:42:05 +0000 |
commit | 80d5f425f45ccd05330a0d326229e7b5d684a06f (patch) | |
tree | 4593545d725c01491697313f118f84900cf91bc1 /chrome | |
parent | 34e32cf2dda2b1f4d5221749ddaac10690b8a63f (diff) | |
download | chromium_src-80d5f425f45ccd05330a0d326229e7b5d684a06f.zip chromium_src-80d5f425f45ccd05330a0d326229e7b5d684a06f.tar.gz chromium_src-80d5f425f45ccd05330a0d326229e7b5d684a06f.tar.bz2 |
Coverity: Initialize SavePackageParam::save_type to SAVE_TYPE_UNKNOWN in the constructor.
CID=2275
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/219020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27014 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/download/save_package.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/download/save_package.cc b/chrome/browser/download/save_package.cc index 701c3bf..7ec85e7 100644 --- a/chrome/browser/download/save_package.cc +++ b/chrome/browser/download/save_package.cc @@ -55,7 +55,9 @@ struct SavePackageParam { FilePath dir; explicit SavePackageParam(const std::string& mime_type) - : current_tab_mime_type(mime_type) { } + : current_tab_mime_type(mime_type), + save_type(SavePackage::SAVE_TYPE_UNKNOWN) { + } }; namespace { |