s3/libsmb: clang: Fix Value set during its initialization is never read
authorNoel Power <noel.power@suse.com>
Thu, 8 Aug 2019 14:18:03 +0000 (15:18 +0100)
committerGary Lockyer <gary@samba.org>
Wed, 28 Aug 2019 01:47:40 +0000 (01:47 +0000)
commit6ef4736c3f642d5b1625f6edb8b3cfdc6e7e3736
tree09e9d48538a8004078bb0cf4bd33043b2c124633
parent2abe785264b105fc3a5b2ce6bd3df7d24fbdf360
s3/libsmb: clang: Fix Value set during its initialization is never read

Fixes:
source3/libsmb/namequery.c:2584:11: warning: Value stored to 'status' during its initialization is never read  <--[clang]
        NTSTATUS status = NT_STATUS_UNSUCCESSFUL;

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