summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-03-27 11:22:57 +0200
committerVolker Lendecke <vlendec@samba.org>2011-03-27 12:12:35 +0200
commit8cd262240e4856c172d9cf01d998d63441357dc3 (patch)
tree5f31e0f56f4110cf1dd39a8893c0c547e74e476a /source3
parent1d690e37b7b042747d27ccbd5eedf0881e47af57 (diff)
downloadsamba-8cd262240e4856c172d9cf01d998d63441357dc3.tar.gz
samba-8cd262240e4856c172d9cf01d998d63441357dc3.tar.bz2
samba-8cd262240e4856c172d9cf01d998d63441357dc3.zip
s3: Fix Coverity ID 2296: UNUSED_VALUE
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 27 12:12:35 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/idmap_tdb.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/winbindd/idmap_tdb.c b/source3/winbindd/idmap_tdb.c
index c83ebc53bf..18c7fbbe53 100644
--- a/source3/winbindd/idmap_tdb.c
+++ b/source3/winbindd/idmap_tdb.c
@@ -799,7 +799,6 @@ done:
static NTSTATUS idmap_tdb_unixids_to_sids(struct idmap_domain *dom, struct id_map **ids)
{
- struct idmap_tdb_context *ctx;
NTSTATUS ret;
int i;
@@ -808,8 +807,6 @@ static NTSTATUS idmap_tdb_unixids_to_sids(struct idmap_domain *dom, struct id_ma
ids[i]->status = ID_UNKNOWN;
}
- ctx = talloc_get_type(dom->private_data, struct idmap_tdb_context);
-
for (i = 0; ids[i]; i++) {
ret = idmap_tdb_id_to_sid(dom, ids[i]);
if ( ! NT_STATUS_IS_OK(ret)) {