Skip to content

Commit

Permalink
chore: fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Feb 10, 2025
1 parent ac1da8f commit ca09636
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ impl DependencyContext {
|(block_index, instruction)| {
if let Instruction::Call { func, arguments } = &function.dfg[*instruction] {
if let Value::Function(callee) = &function.dfg[*func] {
if all_functions[&callee].runtime().is_brillig() {
if all_functions[callee].runtime().is_brillig() {
let results = function.dfg.instruction_results(*instruction);
let current_tainted =
BrilligTaintedIds::new(function, arguments, results);
Expand Down Expand Up @@ -485,7 +485,7 @@ impl DependencyContext {
self.update_children(&arguments, &results);
}
},
Value::Function(callee) => match all_functions[&callee].runtime() {
Value::Function(callee) => match all_functions[callee].runtime() {
// Only update tainted sets for non-Brillig calls, as
// the chained Brillig case should already be covered
RuntimeType::Acir(..) => {
Expand Down

0 comments on commit ca09636

Please sign in to comment.