diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2013-04-03 14:06:16 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-04-04 23:06:55 +0200 |
commit | 369626f19a9083be643c796691798e2debf2f07b (patch) | |
tree | db0c979440c2d44995bad98fc9fe2bbb35aef4fc /src | |
parent | 44fc7e53b403d45576ab61d2dea4608e323ed332 (diff) | |
download | sssd-369626f19a9083be643c796691798e2debf2f07b.tar.gz sssd-369626f19a9083be643c796691798e2debf2f07b.tar.xz sssd-369626f19a9083be643c796691798e2debf2f07b.zip |
LDAP: Fix value initialization warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/providers/ldap/sdap_async_connection.c | 2 | ||||
-rw-r--r-- | src/providers/ldap/sdap_async_nested_groups.c | 2 |
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; |