From b3492032e462e45af1c3ec2d366503550ef8b23d Mon Sep 17 00:00:00 2001 From: Sofia Date: Fri, 20 Mar 2026 18:28:09 +0200 Subject: [PATCH] Fix warning --- src/compile.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/compile.rs b/src/compile.rs index 2ad1e51..1fc4bdd 100644 --- a/src/compile.rs +++ b/src/compile.rs @@ -1,7 +1,4 @@ -use std::{ - collections::{HashMap, HashSet}, - num::IntErrorKind, -}; +use std::collections::{HashMap, HashSet}; use crate::{ ast::{ @@ -1097,8 +1094,6 @@ fn compile_function_call( instructions.push(PreInstr::Instr(Instruction::MoveRetValues(last_reg))); } - let last_param_reg = param_regs.last().unwrap_or(&function_reg); - let mut return_regs = Vec::new(); if let Some(expected_values) = expected_values { for i in 0..expected_values {