summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-02-27 09:24:38 +0100
committerStefan Metzmacher <metze@samba.org>2012-02-27 12:51:34 +0100
commit910251e8ed89c3ffe769a1007ec197c9c58805b3 (patch)
treec32d4ac23a000f70dad66e47343ae2e31f8f798f /libcli
parentb7684f2ac65e308dd2f159d81d6326491c8f557a (diff)
downloadsamba-910251e8ed89c3ffe769a1007ec197c9c58805b3.tar.gz
samba-910251e8ed89c3ffe769a1007ec197c9c58805b3.tar.bz2
samba-910251e8ed89c3ffe769a1007ec197c9c58805b3.zip
libcli/smb/smbXcli: remove unused if statement from smb2cli_conn_dispatch_incoming()
metze
Diffstat (limited to 'libcli')
-rw-r--r--libcli/smb/smbXcli_base.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libcli/smb/smbXcli_base.c b/libcli/smb/smbXcli_base.c
index c17254f0a8..6b4458878b 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) ||