From 2e59d6c37002734887f9d26be2ea078775dc0c1e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 9 Jun 2013 18:02:27 +0200 Subject: libsmb: Remove an unnecessary variable assignment Signed-off-by: Volker Lendecke Reviewed-by: Andrew Bartlett --- libcli/smb/smbXcli_base.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libcli') 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; } -- cgit