mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 00:55:11 +01:00
Remove unused appendFact code path
This commit is contained in:
1 parent
97f2570977
commit
9573b88a02
1 file changed
-6
@@ -66,12 +66,6 @@ func (z *facts) appendFact(fact *a.Expr) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
switch fact.Operator() {
|
switch fact.Operator() {
|
||||||
case 0:
|
|
||||||
for _, x := range *z {
|
|
||||||
if op, other := otherHandSide(x, fact); op == t.IDXBinaryEqEq {
|
|
||||||
z.appendFact(other)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
case t.IDXBinaryAnd:
|
case t.IDXBinaryAnd:
|
||||||
z.appendFact(fact.LHS().AsExpr())
|
z.appendFact(fact.LHS().AsExpr())
|
||||||
z.appendFact(fact.RHS().AsExpr())
|
z.appendFact(fact.RHS().AsExpr())
|
||||||
|
|||||||
Reference in new issue
Block a user