s3: Fix Coverity ID 2296: UNUSED_VALUE
authorVolker Lendecke <vl@samba.org>
Sun, 27 Mar 2011 09:22:57 +0000 (11:22 +0200)
committerVolker Lendecke <vlendec@samba.org>
Sun, 27 Mar 2011 10:12:35 +0000 (12:12 +0200)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Mar 27 12:12:35 CEST 2011 on sn-devel-104

source3/winbindd/idmap_tdb.c

index c83ebc53bf7b99fa60ec23b2113dbd6fe3c123a5..18c7fbbe53fab82962d8e0f0090537bccbc86791 100644 (file)
@@ -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)) {