diff options
author | Noel Power <noel.power@suse.com> | 2019-07-08 13:52:26 +0000 |
---|---|---|
committer | Gary Lockyer <gary@samba.org> | 2019-07-11 04:08:13 +0000 |
commit | f004f8a23493fba882324131e68a046ef84b8de5 (patch) | |
tree | ff27c8abc21e00f130af6be61a73e35c2daf9997 /auth | |
parent | d6c67f7c886c67363c4c1ef139cc366aadf90142 (diff) | |
download | samba-f004f8a23493fba882324131e68a046ef84b8de5.tar.gz |
auth/gensec: clang: Fix 'Value stored to 'status' is never read'
Fixes:
auth/gensec/spnego.c:877:2: warning: Value stored to 'status' is never read <--[clang]
status = sub_status;
^ ~~~~~~~~~~
1 warning generated.
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'auth')
-rw-r--r-- | auth/gensec/spnego.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/auth/gensec/spnego.c b/auth/gensec/spnego.c index 0b3fbdce7ac..9e279d89850 100644 --- a/auth/gensec/spnego.c +++ b/auth/gensec/spnego.c @@ -874,8 +874,6 @@ static NTSTATUS gensec_spnego_client_negTokenTarg_finish( NTSTATUS status; struct spnego_data spnego_out; - status = sub_status; - if (!spnego_state->sub_sec_ready) { /* * We're not yet ready to deal with signatures. |