1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

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

!= NULL. Coverity #149.

Volker
(This used to be commit d38e05329a)
This commit is contained in:
Volker Lendecke 2006-03-07 19:24:28 +00:00 committed by Gerald (Jerry) Carter
parent 2615b079f0
commit 4357ef3bd6

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;
}