From: Volker Lendecke Date: Sat, 22 Feb 2020 10:21:44 +0000 (+0100) Subject: libsmb: Remove a pointless ZERO_STRUCT() X-Git-Tag: ldb-2.2.0~1604 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78eae77ec1ea82337540026ea4501f222b5d54a3;p=thirdparty%2Fsamba.git libsmb: Remove a pointless ZERO_STRUCT() "c" is a pointer that was initialized to NULL above Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/libsmb/libsmb_server.c b/source3/libsmb/libsmb_server.c index d4f71d8c8b7..104a04a6fc8 100644 --- a/source3/libsmb/libsmb_server.c +++ b/source3/libsmb/libsmb_server.c @@ -296,7 +296,6 @@ SMBC_server_internal(TALLOC_CTX *ctx, bool use_ccache = false; bool pw_nt_hash = false; - ZERO_STRUCT(c); *in_cache = false; if (server[0] == 0) {