diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-03-07 19:24:28 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:11:02 -0500 |
commit | 4357ef3bd6d8f7c6b865dabe7de38e55027be029 (patch) | |
tree | 6c66bca3188d93ca559b05b96217b8b01c3f7412 /source3 | |
parent | 2615b079f04903a80e02334a78961a54f915d063 (diff) | |
download | samba-4357ef3bd6d8f7c6b865dabe7de38e55027be029.tar.gz samba-4357ef3bd6d8f7c6b865dabe7de38e55027be029.tar.bz2 samba-4357ef3bd6d8f7c6b865dabe7de38e55027be029.zip |
r13979: We've dereferenced my_methods already, so there's no point in checking for
!= NULL. Coverity #149.
Volker
(This used to be commit d38e05329a77650d8fbb8611ca148964f62c9ba4)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/passdb/pdb_ldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c index 8429d50b38..72ec883aca 100644 --- a/source3/passdb/pdb_ldap.c +++ b/source3/passdb/pdb_ldap.c @@ -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; } |