s4/auth/gensec: clang: Fix 'initialization value is never read'
commitd6c67f7c886c67363c4c1ef139cc366aadf90142
authorNoel Power <noel.power@suse.com>
Mon, 8 Jul 2019 13:49:30 +0000 (8 13:49 +0000)
committerGary Lockyer <gary@samba.org>
Thu, 11 Jul 2019 04:08:13 +0000 (11 04:08 +0000)
tree9ee6f9a64345e0f2f3952d1354d7629bfb7c4112
parent3a59a70dab359c4a1e992625b7adaa15f37a10ca
s4/auth/gensec: clang: Fix 'initialization value is never read'

Fixes:

source4/auth/gensec/gensec_gssapi.c:431:11: warning: Value stored to 'nt_status' during its initialization is never read <--[clang]
        NTSTATUS nt_status = NT_STATUS_LOGON_FAILURE;
                 ^~~~~~~~~   ~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
source4/auth/gensec/gensec_gssapi.c