s3: Simplify pdb_set_plaintext_passwd() by removing a redundant condition
authorVolker Lendecke <vl@samba.org>
Mon, 14 Dec 2009 17:50:38 +0000 (18:50 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 7 Jan 2010 10:07:54 +0000 (11:07 +0100)
commita3f522202ddc09d444e800ad1da2078975de01c1
treeca139daf43ac7a74e2aa36404d1aee632a111d11
parent7633837026d56ee723ffb603c9bd884ff6c69ef3
s3: Simplify pdb_set_plaintext_passwd() by removing a redundant condition

if (current_history_len != pwHistLen) {
     if (current_history_len < pwHistLen) {
     }
}

The second "if" is a bit pointless here
source3/passdb/pdb_get_set.c