s3/passed: clang: Fix 'Value stored during its initialization is never read'
authorNoel Power <noel.power@suse.com>
Thu, 5 Sep 2019 15:40:50 +0000 (15:40 +0000)
committerJeremy Allison <jra@samba.org>
Thu, 26 Sep 2019 18:41:27 +0000 (18:41 +0000)
commitfba666cf2a5c83ee76432f0d0d44e867c62231ba
tree753d19bffe8b556dfc56b6181456dc61261e77a9
parentb08ec1903d2ebfdcdb83c0f6e042a6d3b06992c9
s3/passed: clang: Fix 'Value stored during its initialization is never read'

Fixes:

source3/passdb/passdb.c:2502:11: warning: Value stored to 'status' during its initialization is never read <--[clang]
        NTSTATUS status = NT_STATUS_INTERNAL_ERROR;
                 ^~~~~~   ~~~~~~~~~~~~~~~~~~~~~~~~

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