From 28761d3c03e0758dc6a5a76b406f23532d15d143 Mon Sep 17 00:00:00 2001 From: Ondrej Kos Date: Fri, 23 Nov 2012 15:25:18 +0100 Subject: LDAP: fix uninitialized variable initialized variable, was causing build warning --- src/providers/ldap/sdap_async_users.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/ldap/sdap_async_users.c b/src/providers/ldap/sdap_async_users.c index 5304c6242..d706740df 100644 --- a/src/providers/ldap/sdap_async_users.c +++ b/src/providers/ldap/sdap_async_users.c @@ -47,7 +47,7 @@ int sdap_save_user(TALLOC_CTX *memctx, const char *gecos; const char *homedir; const char *shell; - const char *orig_dn; + const char *orig_dn = NULL; uid_t uid; gid_t gid, primary_gid; struct sysdb_attrs *user_attrs; -- cgit