From a7820338c164782b0f73e3e36600581bb54543dd Mon Sep 17 00:00:00 2001 From: Matt Brown Date: Sun, 18 Aug 2024 10:01:07 -0400 Subject: [PATCH] Remove useless block --- src/analyzer/stmt/ifelse_analyzer.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/analyzer/stmt/ifelse_analyzer.rs b/src/analyzer/stmt/ifelse_analyzer.rs index a1442ff4..8fcb498c 100644 --- a/src/analyzer/stmt/ifelse_analyzer.rs +++ b/src/analyzer/stmt/ifelse_analyzer.rs @@ -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,