diff options
Diffstat (limited to 'source3/sam/interface.c')
-rw-r--r-- | source3/sam/interface.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/sam/interface.c b/source3/sam/interface.c index e129604ca3..bb7b88b240 100644 --- a/source3/sam/interface.c +++ b/source3/sam/interface.c @@ -265,10 +265,6 @@ NTSTATUS context_sam_enum_domains(const SAM_CONTEXT *context, const NT_USER_TOKE DEBUG(6,("context_sam_enum_domains: enumerating %d domains\n", (*domain_count))); - if (*domain_count == 0) { - return NT_STATUS_OK; - } - tmp_methods = context->methods; if (((*domains) = malloc( sizeof(DOM_SID) * (*domain_count))) == NULL) { |