summaryrefslogtreecommitdiff
path: root/server/providers/ldap
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-09-08 14:36:11 -0400
committerStephen Gallagher <sgallagh@redhat.com>2009-09-08 15:10:49 -0400
commitaef967dc115c64f0288b8ecc3ff1d927aa42af70 (patch)
treefe616b2927b13552453f9c900f30e5d23e096f14 /server/providers/ldap
parent8390c75752f96b55185e8be91896574723ffe4c7 (diff)
downloadsssd-aef967dc115c64f0288b8ecc3ff1d927aa42af70.tar.gz
sssd-aef967dc115c64f0288b8ecc3ff1d927aa42af70.tar.bz2
sssd-aef967dc115c64f0288b8ecc3ff1d927aa42af70.zip
Fix two possible uninitialized values
Make counter for used messages explicit.
Diffstat (limited to 'server/providers/ldap')
-rw-r--r--server/providers/ldap/sdap_async.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/providers/ldap/sdap_async.c b/server/providers/ldap/sdap_async.c
index e13fba34..550cb9d3 100644
--- a/server/providers/ldap/sdap_async.c
+++ b/server/providers/ldap/sdap_async.c
@@ -1424,7 +1424,7 @@ static void sdap_get_users_save_done(struct tevent_req *subreq)
struct tevent_req);
struct sdap_get_users_state *state = tevent_req_data(req,
struct sdap_get_users_state);
- char *timestamp;
+ char *timestamp = NULL;
int ret;
ret = sdap_save_user_recv(subreq, state, &timestamp);