mirror of
https://github.com/samba-team/samba.git
synced 2025-01-24 02:04:21 +03:00
32d487d074
Fixes: source3/libads/ldap.c:370:11: warning: Value stored to 'status' during its initialization is never read <--[clang] NTSTATUS status = NT_STATUS_UNSUCCESSFUL; ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ source3/libads/ldap.c:417:11: warning: Value stored to 'status' during its initialization is never read <--[clang] NTSTATUS status = NT_STATUS_UNSUCCESSFUL; ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ source3/libads/ldap.c:1783:13: warning: Value stored to 'ret' during its initialization is never read <--[clang] ADS_STATUS ret = ADS_ERROR(LDAP_SUCCESS); ^~~ ~~~~~~~~~~~~~~~~~~~~~~~ source3/libads/ldap.c:1862:13: warning: Value stored to 'ret' during its initialization is never read <--[clang] ADS_STATUS ret = ADS_ERROR(LDAP_SUCCESS); ^~~ ~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>