diff options
author | Noel Power <noel.power@suse.com> | 2019-08-15 14:16:52 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-09-26 18:41:26 +0000 |
commit | 6055134330d9e4226deb298c506dc6f792bf5d33 (patch) | |
tree | 33ddde22bebace8856c4ffde073f377c2a1dfb41 /source3/groupdb | |
parent | 5550367e46d2ebb2bb0bb35fa51f34ca178d2907 (diff) | |
download | samba-6055134330d9e4226deb298c506dc6f792bf5d33.tar.gz |
s3/groupdb: clang: Fix 'Value stored during its initialization is never read'
Fixes:
ource3/groupdb/mapping.c:648:11: warning: Value stored to 'status' during its initialization is never read <--[clang]
NTSTATUS status = NT_STATUS_OK;
^~~~~~ ~~~~~~~~~~~~
1 warning generated.
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/groupdb')
-rw-r--r-- | source3/groupdb/mapping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/groupdb/mapping.c b/source3/groupdb/mapping.c index 1e25c5637dc..ed57955edc9 100644 --- a/source3/groupdb/mapping.c +++ b/source3/groupdb/mapping.c @@ -645,7 +645,7 @@ NTSTATUS pdb_default_set_aliasinfo(struct pdb_methods *methods, const struct dom_sid *sid, struct acct_info *info) { - NTSTATUS status = NT_STATUS_OK; + NTSTATUS status; GROUP_MAP *map; map = talloc_zero(NULL, GROUP_MAP); |