Fix warning

This commit is contained in:
Sofia 2026-03-20 18:28:09 +02:00
parent ee4b5435a4
commit b3492032e4

View File

@ -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 {