From 6db52669b492826f36ec13de23f31dd42a4d0fad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Autin?= Date: Fri, 10 Mar 2023 10:34:13 +0100 Subject: [PATCH] Removed useless variable --- src/simulator/print.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/simulator/print.rs b/src/simulator/print.rs index 60a2936..54bcddf 100644 --- a/src/simulator/print.rs +++ b/src/simulator/print.rs @@ -139,7 +139,6 @@ pub fn print(ins: Instruction, pc: i32) -> String { //TODO pc should be u64 format!("fnmadd\t{}{}{}{}", REG_F[rd], REG_F[rs1], REG_F[rs2], REG_F[rs3]) }, RISCV_FP => { - let name: &str; match ins.funct7 { RISCV_FP_ADD => { format!("{}\t{}{}{}", "fadd", REG_F[rd], REG_F[rs1], REG_F[rs2])