Skip to content

Commit

Permalink
Remove useless block
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Aug 18, 2024
1 parent 3a235d5 commit a782033
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/analyzer/stmt/ifelse_analyzer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,6 @@ pub(crate) fn analyze(

let mut if_scope = IfScope::new();

if stmt.0 .2.is_binop() || (stmt.0 .2.is_unop() && stmt.0 .2.as_unop().unwrap().1 .2.is_binop())
{
let mut none_hashset = FxHashSet::default();
none_hashset.insert(ControlAction::None);
}

let if_conditional_scope = if_conditional_analyzer::analyze(
statements_analyzer,
stmt.0,
Expand Down

0 comments on commit a782033

Please sign in to comment.