summaryrefslogtreecommitdiffstats
path: root/src/providers
diff options
context:
space:
mode:
authorOndrej Kos <okos@redhat.com>2012-11-23 15:25:18 +0100
committerJakub Hrozek <jhrozek@redhat.com>2012-11-27 11:21:38 +0100
commit2730efc0dedd834aa1bc5c0c42f73ec6a945b4c8 (patch)
tree384b6e480b0f89771bf577ad47a01c2db51c5525 /src/providers
parent83cd233a74b264fe13523b5297447edf99288c3b (diff)
downloadsssd-2730efc0dedd834aa1bc5c0c42f73ec6a945b4c8.tar.gz
sssd-2730efc0dedd834aa1bc5c0c42f73ec6a945b4c8.tar.xz
sssd-2730efc0dedd834aa1bc5c0c42f73ec6a945b4c8.zip
LDAP: fix uninitialized variable
initialized variable, was causing build warning
Diffstat (limited to 'src/providers')
-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 216436111..48d184a86 100644
--- a/src/providers/ldap/sdap_async_users.c
+++ b/src/providers/ldap/sdap_async_users.c
@@ -46,7 +46,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;