Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Virgil Serbanuta committed Dec 10, 2020
1 parent 3f17d8b commit 29d9693
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion semantics/common/compat.k
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ module COMPAT-KAST [kast]
imports BOOL
imports K-EQUAL

rule some(.Map::Map, Lbl:K) => false
rule some(.Map::Map, _Lbl:K) => false
rule some(K1:KItem |-> K2:KItem M::Map, #klabel(Lbl:KLabel)) => Lbl(K1, K2) orBool some(M, #klabel(Lbl)) [owise]

rule mapList(ListItem(K:KItem) L:List, #klabel(Lbl:KLabel)) => ListItem(Lbl(K)) mapList(L, #klabel(Lbl))
Expand Down
2 changes: 1 addition & 1 deletion semantics/common/symloc.k
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ module SYMLOC
rule stripFromArray(Loc:SymLoc) => Loc [owise]

rule getFromArray(loc(_, _, SetItem(fromArray(...) #as F::Provenance) _)) => F
rule getFromArray(Loc::SymLoc) => .K [owise]
rule getFromArray(_::SymLoc) => .K [owise]

rule stripProv(loc(Base:SymBase, Offset:Int, _)) => loc(Base, Offset)
rule stripProv(loc(Base:SymBase, Offset:Int)) => loc(Base, Offset)
Expand Down

0 comments on commit 29d9693

Please sign in to comment.