summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-03-16 09:36:38 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-03-16 14:07:48 -0400
commit7d10875216a6b9e00c8a4063aa7df87a352fd530 (patch)
tree7f6b0bba26c192197369eae72e04240a0f75bb9e
parent2293a41a4c534ad0db42038628dbe6171a08819d (diff)
downloadsssd-7d10875216a6b9e00c8a4063aa7df87a352fd530.tar.gz
sssd-7d10875216a6b9e00c8a4063aa7df87a352fd530.tar.xz
sssd-7d10875216a6b9e00c8a4063aa7df87a352fd530.zip
Fix uninitialized variable
-rw-r--r--src/providers/ldap/ldap_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/ldap_common.c b/src/providers/ldap/ldap_common.c
index d5dc4a0af..949244183 100644
--- a/src/providers/ldap/ldap_common.c
+++ b/src/providers/ldap/ldap_common.c
@@ -1598,7 +1598,7 @@ errno_t list_missing_attrs(TALLOC_CTX *mem_ctx,
}
if (k == 0) {
- *missing = NULL;
+ *missing_attrs = NULL;
} else {
/* Terminate the list */
missing[k] = NULL;