From: Volker Lendecke Date: Mon, 5 Aug 2024 15:31:15 +0000 (+0200) Subject: libsmb: Remove a pointless variable assignment X-Git-Tag: tdb-1.4.13~1371 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b0e91608f2def93b4bbc8405b14af3bbe7f99296;p=thirdparty%2Fsamba.git libsmb: Remove a pointless variable assignment We right away overwrite this Signed-off-by: Volker Lendecke Reviewed-by: Andreas Schneider --- diff --git a/source3/libsmb/passchange.c b/source3/libsmb/passchange.c index 998b7cfd9a5..145c51f5373 100644 --- a/source3/libsmb/passchange.c +++ b/source3/libsmb/passchange.c @@ -269,9 +269,6 @@ NTSTATUS remote_password_change(const char *remote_machine, /* OK, that failed, so try again... */ TALLOC_FREE(pipe_hnd); - /* Try anonymous NTLMSSP... */ - result = NT_STATUS_UNSUCCESSFUL; - /* OK, this is ugly, but... try an anonymous pipe. */ result = cli_rpc_pipe_open_noauth(cli, &ndr_table_samr, &pipe_hnd);