From aeb72aa8e13c99b8189d909534d038b9f91998fc Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 10 Apr 2026 12:00:07 -0500 Subject: [PATCH] av5282/start/init5282.c: Address set but unused warnings GCC 16 flagged this while GCC 15 did not. Because the code was using the "temp" variable in what appeared to be delay loops, added the "(void) temp" hint to avoid the warning. --- bsps/m68k/av5282/start/init5282.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bsps/m68k/av5282/start/init5282.c b/bsps/m68k/av5282/start/init5282.c index ee55f0126c..1ff433e3d8 100644 --- a/bsps/m68k/av5282/start/init5282.c +++ b/bsps/m68k/av5282/start/init5282.c @@ -100,4 +100,9 @@ void Init5282 (void) * Copy data, clear BSS and call boot_card() */ CopyDataClearBSSAndStart (); + + /* + * temp is really not used but tell the compiler it is. + */ + (void) temp; }