From 910251e8ed89c3ffe769a1007ec197c9c58805b3 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 27 Feb 2012 09:24:38 +0100 Subject: [PATCH] libcli/smb/smbXcli: remove unused if statement from smb2cli_conn_dispatch_incoming() metze --- libcli/smb/smbXcli_base.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libcli/smb/smbXcli_base.c b/libcli/smb/smbXcli_base.c index c17254f0a86..6b4458878bd 100644 --- a/libcli/smb/smbXcli_base.c +++ b/libcli/smb/smbXcli_base.c @@ -3002,9 +3002,7 @@ static NTSTATUS smb2cli_conn_dispatch_incoming(struct smbXcli_conn *conn, * propagate the NT_STATUS_USER_SESSION_DELETED * status to the caller. */ - if (signing_key) { - signing_key = NULL; - } + signing_key = NULL; } if (NT_STATUS_EQUAL(status, NT_STATUS_NETWORK_NAME_DELETED) || -- 2.34.1