summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2012-10-05 02:09:47 -0700
committerVolker Lendecke <vl@samba.org>2012-11-09 09:20:11 +0100
commitf8c5f9836415ce0891624b170410e807abcfb706 (patch)
tree6c161202acbb81016b3d622aeced41c9ba910a38
parent50d47fc0816c842717a5c0bfb3c0863d99eed78c (diff)
downloadsamba-f8c5f9836415ce0891624b170410e807abcfb706.tar.gz
samba-f8c5f9836415ce0891624b170410e807abcfb706.tar.bz2
samba-f8c5f9836415ce0891624b170410e807abcfb706.zip
s4-drs: Remove unused var
Signed-off-by: Matthieu Patou <mat@matws.net>
-rw-r--r--source4/libnet/libnet_vampire.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/libnet/libnet_vampire.c b/source4/libnet/libnet_vampire.c
index 48fdc89471..4091346630 100644
--- a/source4/libnet/libnet_vampire.c
+++ b/source4/libnet/libnet_vampire.c
@@ -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;