Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
brockelmore committed Jul 22, 2024
1 parent 26ae57a commit 2c0a834
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions crates/graph/src/solvers/brute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -784,8 +784,6 @@ impl SolcSolver for BruteBinSearchSolver {
if new_range.unsat(analyzer, arena) {
// figure out *where* we need to increase or decrease
// work on the unreplace range for now
let min_is_dependent = !range.min.dependent_on(analyzer, arena).is_empty();
let max_is_dependent = !range.max.dependent_on(analyzer, arena).is_empty();

// compare new range to prev range to see if they moved down or up

Expand Down
2 changes: 1 addition & 1 deletion crates/solc-expressions/src/variable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ pub trait Variable: AnalyzerBackend<Expr = Expression, ExprErr = ExprErr> + Size
.all(|e| *e))
}
}
(e, f) => Err(ExprErr::Todo(
(_, _) => Err(ExprErr::Todo(
loc,
"Unhandled ExprRet combination in `match_var_def`".to_string(),
)),
Expand Down

0 comments on commit 2c0a834

Please sign in to comment.