libsmb: Remove a pointless ZERO_STRUCT()
authorVolker Lendecke <vl@samba.org>
Sat, 22 Feb 2020 10:21:44 +0000 (11:21 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 25 May 2020 08:13:28 +0000 (08:13 +0000)
"c" is a pointer that was initialized to NULL above

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/libsmb/libsmb_server.c

index 0067df48cac7bffd866e94d14787eafd47ef68b5..41e0017fe595c55464e5fe9aeff45facb5beaf28 100644 (file)
@@ -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) {