Skip to content

Commit

Permalink
Remove unused 'context' record field
Browse files Browse the repository at this point in the history
Signed-off-by: Ambre Austen Suhamy <ambre@tarides.com>
  • Loading branch information
ElectreAAS committed Oct 31, 2024
1 parent 92872ec commit 6a8f704
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/opam-0install/lib/model.ml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ struct
| Virtual of < > * impl list (* (Object just for sorting) *)

and real_impl =
{ context : Context.t
; pkg : OpamPackage.t
{ pkg : OpamPackage.t
; opam : OpamFile.OPAM.t
; requires : dependency list
}
Expand Down Expand Up @@ -231,7 +230,7 @@ struct
make_deps `Essential ensure OpamFile.OPAM.depends
@ make_deps `Restricts prevent OpamFile.OPAM.conflicts
in
Some (RealImpl { context; pkg; opam; requires }))
Some (RealImpl { pkg; opam; requires }))
in
{ impls; replacement = None }
;;
Expand Down

0 comments on commit 6a8f704

Please sign in to comment.