From 5f384427fc4d21e698176149d9c2496f2e48b620 Mon Sep 17 00:00:00 2001 From: OBattler Date: Tue, 2 May 2023 15:20:15 +0200 Subject: [PATCH] A small warning fix to shut up the compiler. --- src/cpu/x87_ops_sf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu/x87_ops_sf.h b/src/cpu/x87_ops_sf.h index 4de3b1c90..ad12b6515 100644 --- a/src/cpu/x87_ops_sf.h +++ b/src/cpu/x87_ops_sf.h @@ -2,7 +2,7 @@ static uint32_t fpu_save_environment(void) { int tag; - unsigned offset; + unsigned offset = 0; /* read all registers in stack order and update x87 tag word */ for (int n = 0; n < 8; n++) {