Skip to content
Snippets Groups Projects
Commit be979583 authored by Virgile Prevosto's avatar Virgile Prevosto Committed by David Bühler
Browse files

[kernel] AST diff: do not update unnecessarily cmp env

parent 77312f35
No related branches found
No related tags found
No related merge requests found
...@@ -1482,7 +1482,6 @@ and logic_info_correspondance ?loc li env = ...@@ -1482,7 +1482,6 @@ and logic_info_correspondance ?loc li env =
match find_candidate_logic_info ?loc li env with match find_candidate_logic_info ?loc li env with
| None -> `Not_present | None -> `Not_present
| Some li' -> | Some li' ->
let env = add_logic_vars li.l_profile li'.l_profile env in
let env = let env =
{ env with { env with
logic_info=Cil_datatype.Logic_info.Map.add li li' env.logic_info } logic_info=Cil_datatype.Logic_info.Map.add li li' env.logic_info }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment