summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-06-09 18:02:27 +0200
committerAndrew Bartlett <abartlet@samba.org>2013-08-12 17:25:56 +1200
commit2e59d6c37002734887f9d26be2ea078775dc0c1e (patch)
treea8532d7862bb763013b7ff02daaa238c86642204 /libcli
parentf584474d7dc1fdb4a778eb1ede8c5321e606341b (diff)
downloadsamba-2e59d6c37002734887f9d26be2ea078775dc0c1e.tar.gz
samba-2e59d6c37002734887f9d26be2ea078775dc0c1e.tar.bz2
samba-2e59d6c37002734887f9d26be2ea078775dc0c1e.zip
libsmb: Remove an unnecessary variable assignment
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'libcli')
-rw-r--r--libcli/smb/smbXcli_base.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libcli/smb/smbXcli_base.c b/libcli/smb/smbXcli_base.c
index b6d1ce9e02..7397f83a0a 100644
--- a/libcli/smb/smbXcli_base.c
+++ b/libcli/smb/smbXcli_base.c
@@ -1562,8 +1562,7 @@ static void smbXcli_conn_received(struct tevent_req *subreq)
if (subreq != conn->read_smb_req) {
DEBUG(1, ("Internal error: cli_smb_received called with "
"unexpected subreq\n"));
- status = NT_STATUS_INTERNAL_ERROR;
- smbXcli_conn_disconnect(conn, status);
+ smbXcli_conn_disconnect(conn, NT_STATUS_INTERNAL_ERROR);
TALLOC_FREE(frame);
return;
}