Skip to content

Commit

Permalink
Fix unused-rec-flag warning in ValueDomain
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Jul 26, 2023
1 parent 5d5afff commit 9f1e5f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cdomains/valueDomain.ml
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ struct
warn_type "join" x y;
Top

let rec widen x y =
let widen x y =
match (x,y) with
| (Top, _) -> Top
| (_, Top) -> Top
Expand All @@ -582,7 +582,7 @@ struct
| (Struct x, Struct y) -> Struct (Structs.widen x y)
| (Union x, Union y) -> Union (Unions.widen x y)
| (Array x, Array y) -> Array (CArrays.widen x y)
| (Blob x, Blob y) -> Blob (Blobs.widen x y)
| (Blob x, Blob y) -> Blob (Blobs.widen x y) (* TODO: why no blob special cases like in join? *)
| (Thread x, Thread y) -> Thread (Threads.widen x y)
| (Int x, Thread y)
| (Thread y, Int x) ->
Expand Down

0 comments on commit 9f1e5f9

Please sign in to comment.