Skip to content

Commit 29d9693

Browse files
author
Virgil Serbanuta
committed
Fix warnings
1 parent 3f17d8b commit 29d9693

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

semantics/common/compat.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ module COMPAT-KAST [kast]
8686
imports BOOL
8787
imports K-EQUAL
8888

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

9292
rule mapList(ListItem(K:KItem) L:List, #klabel(Lbl:KLabel)) => ListItem(Lbl(K)) mapList(L, #klabel(Lbl))

semantics/common/symloc.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ module SYMLOC
288288
rule stripFromArray(Loc:SymLoc) => Loc [owise]
289289

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

293293
rule stripProv(loc(Base:SymBase, Offset:Int, _)) => loc(Base, Offset)
294294
rule stripProv(loc(Base:SymBase, Offset:Int)) => loc(Base, Offset)

0 commit comments

Comments
 (0)