diff options
Diffstat (limited to 'source4/libnet')
-rw-r--r-- | source4/libnet/libnet_become_dc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source4/libnet/libnet_become_dc.c b/source4/libnet/libnet_become_dc.c index f64ef6f8dd..b8fed68b59 100644 --- a/source4/libnet/libnet_become_dc.c +++ b/source4/libnet/libnet_become_dc.c @@ -1939,7 +1939,6 @@ static void becomeDC_drsuapi1_add_entry_send(struct libnet_BecomeDC_state *s) struct drsuapi_DsAttributeValue *vs; DATA_BLOB *vd; const struct GUID *v; - NTSTATUS status; vs = talloc_array(attrs, struct drsuapi_DsAttributeValue, 1); if (composite_nomem(vs, c)) return; @@ -1950,9 +1949,7 @@ static void becomeDC_drsuapi1_add_entry_send(struct libnet_BecomeDC_state *s) v = &s->dest_dsa.invocation_id; c->status = GUID_to_ndr_blob(v, vd, &vd[0]); - if (!NT_STATUS_IS_OK(status)) { - if (!composite_is_ok(c)) return; - } + if (!composite_is_ok(c)) return; vs[0].blob = &vd[0]; |