diff options
author | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-15 00:47:46 +0000 |
---|---|---|
committer | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-15 00:47:46 +0000 |
commit | fc4096df7cde586710c649fe011016bf0c24ea9e (patch) | |
tree | 75e62fe85560baf0c1afa0deea44fa978e8a572f /chrome | |
parent | 7975d395a2ee0d8b5ba8aa4748c950e9e957503d (diff) | |
download | chromium_src-fc4096df7cde586710c649fe011016bf0c24ea9e.zip chromium_src-fc4096df7cde586710c649fe011016bf0c24ea9e.tar.gz chromium_src-fc4096df7cde586710c649fe011016bf0c24ea9e.tar.bz2 |
DOMUI cert manager: Initialized the boolean variables: trust_obj_sign, trust_email, trust_ssl.
Fixes build with latest gcc.
Patch from <asharif@chromium.org>
BUG=66770
TEST=trybots
Review URL: http://codereview.chromium.org/5787005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69209 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/dom_ui/options/certificate_manager_handler.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/dom_ui/options/certificate_manager_handler.cc b/chrome/browser/dom_ui/options/certificate_manager_handler.cc index 4527f2a..480fcb4 100644 --- a/chrome/browser/dom_ui/options/certificate_manager_handler.cc +++ b/chrome/browser/dom_ui/options/certificate_manager_handler.cc @@ -457,9 +457,9 @@ void CertificateManagerHandler::GetCATrust(const ListValue* args) { void CertificateManagerHandler::EditCATrust(const ListValue* args) { net::X509Certificate* cert = CallbackArgsToCert(args); bool fail = !cert; - bool trust_ssl; - bool trust_email; - bool trust_obj_sign; + bool trust_ssl = false; + bool trust_email = false; + bool trust_obj_sign = false; fail |= !CallbackArgsToBool(args, 1, &trust_ssl); fail |= !CallbackArgsToBool(args, 2, &trust_email); fail |= !CallbackArgsToBool(args, 3, &trust_obj_sign); |