diff options
author | Günther Deschner <gd@samba.org> | 2011-02-21 17:32:48 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-02-21 18:03:20 +0100 |
commit | dcf23f022f9d25f871c60ddb6d173c93932b723f (patch) | |
tree | 05771a43c06f36b91a126c316e73983e43ef4818 | |
parent | a69f634de467733fc7c3238303bf061f47c39ab2 (diff) | |
download | samba-dcf23f022f9d25f871c60ddb6d173c93932b723f.tar.gz samba-dcf23f022f9d25f871c60ddb6d173c93932b723f.tar.bz2 samba-dcf23f022f9d25f871c60ddb6d173c93932b723f.zip |
s3-pdb_ipa: remove uninitialized (and unused) status code.
Guenther
-rw-r--r-- | source3/passdb/pdb_ipa.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/passdb/pdb_ipa.c b/source3/passdb/pdb_ipa.c index 9e52e952a1..feae2287e7 100644 --- a/source3/passdb/pdb_ipa.c +++ b/source3/passdb/pdb_ipa.c @@ -809,7 +809,6 @@ static NTSTATUS ipasam_add_objectclasses(struct ldapsam_privates *ldap_state, { char *dn; LDAPMod **mods = NULL; - NTSTATUS status; int ret; char *princ; const char *domain; @@ -861,7 +860,7 @@ static NTSTATUS ipasam_add_objectclasses(struct ldapsam_privates *ldap_state, if (ret != LDAP_SUCCESS) { DEBUG(1, ("failed to modify/add user with uid = %s (dn = %s)\n", pdb_get_username(sampass),dn)); - return status; + return NT_STATUS_LDAP(ret); } return NT_STATUS_OK; |