libcli/auth: clang: Fix 'Value stored to 'status' is never read'
authorNoel Power <noel.power@suse.com>
Wed, 14 Aug 2019 13:31:07 +0000 (14:31 +0100)
committerGary Lockyer <gary@samba.org>
Tue, 27 Aug 2019 23:04:37 +0000 (23:04 +0000)
commit78ca70925ca00ae96065db4fd7a963cb999f2f3d
treec20be7c3f830f818cbd3614d5948d56de71f7f9d
parente874cc909a7f12286ae2514ceb063193469a8946
libcli/auth: clang: Fix 'Value stored to 'status' is never read'

Fixes:

libcli/auth/netlogon_creds_cli.c:2622:2: warning: Value stored to 'status' is never read <--[clang]
        status = netlogon_creds_decrypt_samlogon_validation(&state->tmp_creds,
        ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.

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