diff options
author | Ondrej Kos <okos@redhat.com> | 2013-03-12 13:05:09 +0100 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2013-03-13 14:44:20 -0400 |
commit | 9f37bb2012faa136ef7c1f9fe93689ce2be85637 (patch) | |
tree | 80878f3fcba322f77e31b1cc72e38a07e2304c87 /src/providers/ipa | |
parent | 7c0f319813a13723ebe8dc85b004565b63d5e44d (diff) | |
download | sssd-9f37bb2012faa136ef7c1f9fe93689ce2be85637.tar.gz sssd-9f37bb2012faa136ef7c1f9fe93689ce2be85637.tar.xz sssd-9f37bb2012faa136ef7c1f9fe93689ce2be85637.zip |
Fix initialization of multiple variables
Diffstat (limited to 'src/providers/ipa')
-rw-r--r-- | src/providers/ipa/ipa_hbac_common.c | 2 | ||||
-rw-r--r-- | src/providers/ipa/ipa_s2n_exop.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/ipa/ipa_hbac_common.c b/src/providers/ipa/ipa_hbac_common.c index 8a1c91ea9..2384ba68b 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 be088664e..bcf966cfd 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; |