From fbe19ba39843d0c70758fc8d775b085a67224a94 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 28 Mar 2011 11:12:32 +0200 Subject: s3: Fix Coverity ID 2143: DEADCODE Autobuild-User: Volker Lendecke Autobuild-Date: Mon Mar 28 12:06:19 CEST 2011 on sn-devel-104 --- source3/winbindd/winbindd_samr.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source3/winbindd/winbindd_samr.c b/source3/winbindd/winbindd_samr.c index f0af251b0c..d775cd7cc6 100644 --- a/source3/winbindd/winbindd_samr.c +++ b/source3/winbindd/winbindd_samr.c @@ -46,10 +46,6 @@ static NTSTATUS open_internal_samr_pipe(TALLOC_CTX *mem_ctx, struct auth_serversupplied_info *session_info = NULL; NTSTATUS status; - if (cli != NULL) { - goto done; - } - if (session_info == NULL) { status = make_session_info_system(mem_ctx, &session_info); if (!NT_STATUS_IS_OK(status)) { -- cgit