summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/providers/ldap/sdap_async_connection.c2
-rw-r--r--src/providers/ldap/sdap_async_nested_groups.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/ldap/sdap_async_connection.c b/src/providers/ldap/sdap_async_connection.c
index b05edf6f9..f77d03805 100644
--- a/src/providers/ldap/sdap_async_connection.c
+++ b/src/providers/ldap/sdap_async_connection.c
@@ -1542,7 +1542,7 @@ static void sdap_cli_kinit_done(struct tevent_req *subreq)
struct tevent_req);
struct sdap_cli_connect_state *state = tevent_req_data(req,
struct sdap_cli_connect_state);
- time_t expire_time;
+ time_t expire_time = 0;
errno_t ret;
ret = sdap_kinit_recv(subreq, &expire_time);
diff --git a/src/providers/ldap/sdap_async_nested_groups.c b/src/providers/ldap/sdap_async_nested_groups.c
index 6b9a440c2..9e8df99be 100644
--- a/src/providers/ldap/sdap_async_nested_groups.c
+++ b/src/providers/ldap/sdap_async_nested_groups.c
@@ -1147,7 +1147,7 @@ sdap_nested_group_single_step_process(struct tevent_req *subreq)
struct sdap_nested_group_single_state *state = NULL;
struct tevent_req *req = NULL;
struct sysdb_attrs *entry = NULL;
- enum sdap_nested_group_dn_type type;
+ enum sdap_nested_group_dn_type type = SDAP_NESTED_GROUP_DN_UNKNOWN;
const char *orig_dn = NULL;
errno_t ret;