s3/auth: clang: Fix 'Value stored during its initialization is never read'
authorNoel Power <noel.power@suse.com>
Fri, 13 Sep 2019 13:57:16 +0000 (13:57 +0000)
committerJeremy Allison <jra@samba.org>
Thu, 26 Sep 2019 18:41:27 +0000 (18:41 +0000)
commit8ea0835a6cbe8721780929b9946de65cd87dc26d
treeba8b4f4460a104ae5b83f045c8fd28ac7f946ff5
parent9759e96ff1dc8741222eb6794dc01bd5b65c282d
s3/auth: clang: Fix 'Value stored during its initialization is never read'

Fixes:

source3/auth/auth.c:38:35: warning: Value stored to 'entry' during its initialization is never read <--[clang]
        struct auth_init_function_entry *entry = auth_backends;
                                         ^~~~~   ~~~~~~~~~~~~~
1 warning generated.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/auth/auth.c