From 9f37bb2012faa136ef7c1f9fe93689ce2be85637 Mon Sep 17 00:00:00 2001 From: Ondrej Kos Date: Tue, 12 Mar 2013 13:05:09 +0100 Subject: Fix initialization of multiple variables --- src/providers/ipa/ipa_hbac_common.c | 2 +- src/providers/ipa/ipa_s2n_exop.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/providers/ipa') diff --git a/src/providers/ipa/ipa_hbac_common.c b/src/providers/ipa/ipa_hbac_common.c index 8a1c91ea..2384ba68 100644 --- a/src/providers/ipa/ipa_hbac_common.c +++ b/src/providers/ipa/ipa_hbac_common.c @@ -213,7 +213,7 @@ hbac_ctx_to_rules(TALLOC_CTX *mem_ctx, { errno_t ret; struct hbac_rule **new_rules; - struct hbac_eval_req *new_request; + struct hbac_eval_req *new_request = NULL; size_t i; TALLOC_CTX *tmp_ctx = NULL; diff --git a/src/providers/ipa/ipa_s2n_exop.c b/src/providers/ipa/ipa_s2n_exop.c index be088664..bcf966cf 100644 --- a/src/providers/ipa/ipa_s2n_exop.c +++ b/src/providers/ipa/ipa_s2n_exop.c @@ -586,7 +586,7 @@ static void ipa_s2n_get_user_done(struct tevent_req *subreq) enum sdap_result result; char *retoid = NULL; struct berval *retdata = NULL; - struct resp_attrs *attrs; + struct resp_attrs *attrs = NULL; time_t now; uint64_t timeout = 10*60*60; /* FIXME: find a better timeout ! */ const char *homedir = NULL; -- cgit