Skip to content

Commit

Permalink
Fix comment in history thread ID is_must_parent
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Aug 15, 2024
1 parent 8e54444 commit cc7a76a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cdomain/value/cdomains/threadIdDomain.ml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ struct
false
else if is_unique t' && P.equal p p' then (* t is already unique, so no need to compare sets *)
false (* thread is not its own parent *)
else ( (* both are unique, but different *)
else ( (* t is already unique, so no need to check sets *)
match GobList.remove_common_prefix Base.equal (List.rev p) (List.rev p') with (* prefixes are stored reversed *)
| [], _ -> true (* p is prefix of p' *)
| _ :: _, _ -> false
Expand Down

0 comments on commit cc7a76a

Please sign in to comment.