mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s3/libads: clang: Fix 'Value stored during initialization is never read'
Fixes: source3/libads/ldap_utils.c:52:13: warning: Value stored to 'status' during its initialization is never read <--[clang] ADS_STATUS status = ADS_SUCCESS; ^~~~~~ ~~~~~~~~~~~ 1 warning generated. Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
35e0122e7c
commit
eb3ba3eeaa
@ -49,7 +49,7 @@ static ADS_STATUS ads_do_search_retry_internal(ADS_STRUCT *ads, const char *bind
|
||||
const char **attrs, void *args,
|
||||
LDAPMessage **res)
|
||||
{
|
||||
ADS_STATUS status = ADS_SUCCESS;
|
||||
ADS_STATUS status;
|
||||
int count = 3;
|
||||
char *bp;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user