s3/lib: clang: Fix 'Value stored during its initialization is never read'
authorNoel Power <noel.power@suse.com>
Wed, 10 Jul 2019 14:49:11 +0000 (15:49 +0100)
committerGary Lockyer <gary@samba.org>
Tue, 16 Jul 2019 22:52:24 +0000 (22:52 +0000)
commit57e9b358ec836e8d8133242c0f6ce4d896531a40
tree4eb04273eb11ff6ade257401c8c5d6b32ae60f19
parent9cf3379a1409b95714a1d96bf75c0bc08104ed1f
s3/lib: clang: Fix 'Value stored during its initialization is never read'

Fixes:

source3/lib/messages.c:483:11: warning: Value stored to 'status' during its initialization is never read <--[clang]
        NTSTATUS status = NT_STATUS_UNSUCCESSFUL;
                 ^~~~~~   ~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.

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