mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
s3: winbindd: remove double initialization
remove re-initialization of entry variable in for loop Signed-off-by: Shaleen Bathla <shaleen.bathla@oracle.com> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Noel Power <npower@samba.org>
This commit is contained in:
parent
dd9b11acbc
commit
cde71074e0
@ -32,7 +32,7 @@ static struct nss_domain_entry *nss_domain_list = NULL;
|
||||
|
||||
static struct nss_function_entry *nss_get_backend(const char *name )
|
||||
{
|
||||
struct nss_function_entry *entry = backends;
|
||||
struct nss_function_entry *entry = NULL;
|
||||
|
||||
for(entry = backends; entry; entry = entry->next) {
|
||||
if ( strequal(entry->name, name) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user