s4-drs: Remove unused var
authorMatthieu Patou <mat@matws.net>
Fri, 5 Oct 2012 09:09:47 +0000 (02:09 -0700)
committerVolker Lendecke <vl@samba.org>
Fri, 9 Nov 2012 08:20:11 +0000 (09:20 +0100)
Signed-off-by: Matthieu Patou <mat@matws.net>
source4/libnet/libnet_vampire.c

index 48fdc894718127680b1982850e87e4f83ef5b209..4091346630ac730e57880f511a4e50a246abff1b 100644 (file)
@@ -527,7 +527,6 @@ NTSTATUS libnet_vampire_cb_schema_chunk(void *private_data,
        struct drsuapi_DsReplicaObjectListItemEx *cur;
        uint32_t nc_linked_attributes_count;
        uint32_t linked_attributes_count;
-       struct drsuapi_DsReplicaLinkedAttribute *linked_attributes;
 
        switch (c->ctr_level) {
        case 1:
@@ -537,7 +536,6 @@ NTSTATUS libnet_vampire_cb_schema_chunk(void *private_data,
                first_object                    = c->ctr1->first_object;
                nc_linked_attributes_count      = 0;
                linked_attributes_count         = 0;
-               linked_attributes               = NULL;
                break;
        case 6:
                mapping_ctr                     = &c->ctr6->mapping_ctr;
@@ -546,7 +544,6 @@ NTSTATUS libnet_vampire_cb_schema_chunk(void *private_data,
                first_object                    = c->ctr6->first_object;
                nc_linked_attributes_count      = c->ctr6->nc_linked_attributes_count;
                linked_attributes_count         = c->ctr6->linked_attributes_count;
-               linked_attributes               = c->ctr6->linked_attributes;
                break;
        default:
                return NT_STATUS_INVALID_PARAMETER;