Skip to content

Commit 1377a28

Browse files
committed
C2PO: Fix naming of DuplicVar.
1 parent 11e3667 commit 1377a28

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/cdomains/duplicateVars.ml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ module VarType = struct
8787
from_varinfo v
8888
| DuplicVar v ->
8989
let vname_ = duplic_var_prefix ^ string_of_int v.vid ^ duplic_var_postfix in
90-
let v' = from_varinfo v in
91-
{v' with vname_ }
90+
from_varinfo {v with vname = vname_}
9291

9392
(* Description that gets appended to the varinfo-name in user output. *)
9493
let describe_varinfo (var: varinfo) v =

0 commit comments

Comments
 (0)