summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-04-12 10:48:03 +0200
committerGünther Deschner <gd@samba.org>2011-04-14 16:22:58 +0200
commitd9c1d1f709ba49e57762456e529e283825a4fd7a (patch)
treecf0e75be852d338df6b221380830865d2423c308 /source3/passdb
parent8b5d163d89651764981521178bc00352397f10f3 (diff)
downloadsamba-d9c1d1f709ba49e57762456e529e283825a4fd7a.tar.gz
samba-d9c1d1f709ba49e57762456e529e283825a4fd7a.tar.bz2
samba-d9c1d1f709ba49e57762456e529e283825a4fd7a.zip
s3: Fix Coverity ID 2471: UNINIT
Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 14 16:22:58 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_ipa.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/passdb/pdb_ipa.c b/source3/passdb/pdb_ipa.c
index 6faadec3f3..5f89be7a29 100644
--- a/source3/passdb/pdb_ipa.c
+++ b/source3/passdb/pdb_ipa.c
@@ -1006,7 +1006,6 @@ static NTSTATUS ipasam_add_ipa_group_objectclasses(struct ldapsam_privates *ldap
uint32_t has_objectclass)
{
LDAPMod **mods = NULL;
- NTSTATUS status;
int ret;
if (!(has_objectclass & HAS_GROUPOFNAMES)) {
@@ -1050,7 +1049,7 @@ static NTSTATUS ipasam_add_ipa_group_objectclasses(struct ldapsam_privates *ldap
if (ret != LDAP_SUCCESS) {
DEBUG(1, ("failed to modify/add group %s (dn = %s)\n",
name, dn));
- return status;
+ return NT_STATUS_LDAP(ret);
}
return NT_STATUS_OK;