From 2faa9ecad5a45a949be5ea95aa9e140eeba0fe68 Mon Sep 17 00:00:00 2001 From: Pavel Březina Date: Fri, 9 Nov 2012 15:13:26 +0100 Subject: fix -O3 variable may be uninitialized warnings --- src/providers/ldap/sdap_async_groups.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/providers/ldap/sdap_async_groups.c') diff --git a/src/providers/ldap/sdap_async_groups.c b/src/providers/ldap/sdap_async_groups.c index 67dddae7..3948a743 100644 --- a/src/providers/ldap/sdap_async_groups.c +++ b/src/providers/ldap/sdap_async_groups.c @@ -3174,8 +3174,8 @@ static void sdap_nested_group_process_user(struct tevent_req *subreq) struct sdap_nested_group_ctx *state = tevent_req_data(req, struct sdap_nested_group_ctx); TALLOC_CTX *tmp_ctx; - size_t count; - struct sysdb_attrs **replies; + size_t count = 0; + struct sysdb_attrs **replies = NULL; int hret; hash_key_t key; hash_value_t value; @@ -3383,8 +3383,8 @@ static void sdap_nested_group_process_ldap_user(struct tevent_req *subreq) struct sdap_nested_group_ctx *state = tevent_req_data(req, struct sdap_nested_group_ctx); TALLOC_CTX *tmp_ctx; - size_t count; - struct sysdb_attrs **replies; + size_t count = 0; + struct sysdb_attrs **replies = NULL; int hret; hash_key_t key; hash_value_t value; -- cgit