From 61893d628549b7f0b3ac42839c93f1bf567b2bac Mon Sep 17 00:00:00 2001 From: Ryan Greenberg Date: Mon, 8 Apr 2024 11:17:28 -0400 Subject: [PATCH] Mark unused --- src/analyzer/stmt_analyzer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/analyzer/stmt_analyzer.rs b/src/analyzer/stmt_analyzer.rs index 10815368..a3647ee4 100644 --- a/src/analyzer/stmt_analyzer.rs +++ b/src/analyzer/stmt_analyzer.rs @@ -348,7 +348,7 @@ fn detect_unused_statement_expressions( if let Some(functionlike_id) = functionlike_id { if let FunctionLikeIdentifier::Function(function_id) = functionlike_id { let codebase = statements_analyzer.get_codebase(); - if let Some(functionlike_info) = codebase + if let Some(_functionlike_info) = codebase .functionlike_infos .get(&(function_id, StrId::EMPTY)) {