From 8ffcc4fe3bbcad340ed29943280d3e9ccb9485d3 Mon Sep 17 00:00:00 2001 From: Karoliine Holter Date: Wed, 3 Jan 2024 15:21:57 +0200 Subject: [PATCH] Remove duplicated tid printing from mhp --- src/cdomains/mHP.ml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cdomains/mHP.ml b/src/cdomains/mHP.ml index 016a72a77e..b7d62f548c 100644 --- a/src/cdomains/mHP.ml +++ b/src/cdomains/mHP.ml @@ -24,7 +24,6 @@ let current (ask:Queries.ask) = } let pretty () {tid; created; must_joined} = - let tid_doc = Some (Pretty.dprintf "tid=%a" ThreadIdDomain.ThreadLifted.pretty tid) in (* avoid useless empty sets in race output *) let created_doc = if ConcDomain.ThreadSet.is_empty created then @@ -38,7 +37,7 @@ let pretty () {tid; created; must_joined} = else Some (Pretty.dprintf "must_joined=%a" ConcDomain.ThreadSet.pretty must_joined) in - let docs = List.filter_map Fun.id [tid_doc; created_doc; must_joined_doc] in + let docs = List.filter_map Fun.id [created_doc; must_joined_doc] in Pretty.dprintf "{%a}" (Pretty.d_list "; " Pretty.insert) docs include Printable.SimplePretty (