summaryrefslogtreecommitdiffstats
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:38:36 +0100
commit8f70deebcb628bc0b9fe8703ecc71cc64d909b6c (patch)
tree775759096e4a1c2d8e7e4fa422c152a3c6455e06 /src/providers/ldap
parent727fc5fd7f2d3fb724988f7676f991e8f7cbcb0d (diff)
downloadsssd-8f70deebcb628bc0b9fe8703ecc71cc64d909b6c.tar.gz
sssd-8f70deebcb628bc0b9fe8703ecc71cc64d909b6c.tar.xz
sssd-8f70deebcb628bc0b9fe8703ecc71cc64d909b6c.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 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;