]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:libnet: Remove always‐false comparison (CID 241309)
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Fri, 6 Oct 2023 02:25:13 +0000 (15:25 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 13 Oct 2023 02:18:31 +0000 (02:18 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/libnet/libnet_dssync_keytab.c

index 289ffcb56b9ba3b58ee1fd8d774104258ad16f7d..41893b4f7fdec172f6b42ce08a7545ec7d4b4507 100644 (file)
@@ -502,7 +502,7 @@ static NTSTATUS parse_object(TALLOC_CTX *mem_ctx,
                }
        }
 
-       if ((kvno < 0) && (kvno < pwd_history_len)) {
+       if (kvno < pwd_history_len) {
                return status;
        }