We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0f2328 commit 4382ecbCopy full SHA for 4382ecb
src/analyses/base.ml
@@ -2476,8 +2476,9 @@ struct
2476
| _ ->
2477
set ~man st lv_a lv_typ (VD.top_value (unrollType lv_typ))
2478
end
2479
- in
2480
- List.map (eval_rv ~man st) args |> ignore;
+ in
+ (* Evaluate each functions arguments. `eval_rv` is only called for its side effects, we ignore the result. *)
2481
+ List.iter (fun arg -> eval_rv ~man st arg |> ignore) args;
2482
let st = match desc.special args, f.vname with
2483
| Memset { dest; ch; count; }, _ ->
2484
(* TODO: check count *)
0 commit comments