summaryrefslogtreecommitdiff
path: root/src/providers/ldap
diff options
context:
space:
mode:
authorOndrej Kos <okos@redhat.com>2012-11-23 15:25:18 +0100
committerJakub Hrozek <jhrozek@redhat.com>2012-11-23 16:35:45 +0100
commit28761d3c03e0758dc6a5a76b406f23532d15d143 (patch)
treebb59b73ea29a6ec0662d6fff691857cede43c50a /src/providers/ldap
parent7026b70797180b8fbe6c66638fcbe0e9f66027c1 (diff)
downloadsssd-28761d3c03e0758dc6a5a76b406f23532d15d143.tar.gz
sssd-28761d3c03e0758dc6a5a76b406f23532d15d143.tar.bz2
sssd-28761d3c03e0758dc6a5a76b406f23532d15d143.zip
LDAP: fix uninitialized variable
initialized variable, was causing build warning
Diffstat (limited to 'src/providers/ldap')
-rw-r--r--src/providers/ldap/sdap_async_users.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_users.c b/src/providers/ldap/sdap_async_users.c
index 5304c624..d706740d 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;