From 8cd262240e4856c172d9cf01d998d63441357dc3 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 27 Mar 2011 11:22:57 +0200 Subject: s3: Fix Coverity ID 2296: UNUSED_VALUE Autobuild-User: Volker Lendecke Autobuild-Date: Sun Mar 27 12:12:35 CEST 2011 on sn-devel-104 --- source3/winbindd/idmap_tdb.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source3') 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)) { -- cgit