summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/options/certificate_manager_handler.cc
diff options
context:
space:
mode:
authormattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-19 02:53:01 +0000
committermattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-19 02:53:01 +0000
commit5ec9ce8d11e0c32406d31a3060d087305ef6abdc (patch)
treec76ccbc29953887d2a9708bebb5f12a00ffc65be /chrome/browser/dom_ui/options/certificate_manager_handler.cc
parent695ea28c834566f747bc449312e96d8b1ae105c8 (diff)
downloadchromium_src-5ec9ce8d11e0c32406d31a3060d087305ef6abdc.zip
chromium_src-5ec9ce8d11e0c32406d31a3060d087305ef6abdc.tar.gz
chromium_src-5ec9ce8d11e0c32406d31a3060d087305ef6abdc.tar.bz2
Initialized 3 boolean variables.
The compiler gives an uninitialized variable warning when CallbackArgsToBool() is inlined. BUG=none TEST=Trivial fix. Patch from <asharif@chromium.org> Review URL: http://codereview.chromium.org/6332004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71748 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui/options/certificate_manager_handler.cc')
-rw-r--r--chrome/browser/dom_ui/options/certificate_manager_handler.cc6
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 ac98bf0..e14d684 100644
--- a/chrome/browser/dom_ui/options/certificate_manager_handler.cc
+++ b/chrome/browser/dom_ui/options/certificate_manager_handler.cc
@@ -779,9 +779,9 @@ void CertificateManagerHandler::ImportCAFileRead(int read_errno,
void CertificateManagerHandler::ImportCATrustSelected(const ListValue* args) {
bool fail = false;
- 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, 0, &trust_ssl);
fail |= !CallbackArgsToBool(args, 1, &trust_email);
fail |= !CallbackArgsToBool(args, 2, &trust_obj_sign);