1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r13979: We've dereferenced my_methods already, so there's no point in checking for

!= NULL. Coverity #149.

Volker
This commit is contained in:
Volker Lendecke 2006-03-07 19:24:28 +00:00 committed by Gerald (Jerry) Carter
parent 053efc2098
commit d38e05329a

View File

@ -1516,7 +1516,7 @@ static NTSTATUS ldapsam_modify_entry(struct pdb_methods *my_methods,
struct ldapsam_privates *ldap_state = (struct ldapsam_privates *)my_methods->private_data;
int rc;
if (!my_methods || !newpwd || !dn) {
if (!newpwd || !dn) {
return NT_STATUS_INVALID_PARAMETER;
}