From 64d49f65855b154d2699e38838408d072df5ccd4 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 10 Apr 2026 12:02:10 -0500 Subject: [PATCH] mcf5235/start/init5235.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/mcf5235/start/init5235.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bsps/m68k/mcf5235/start/init5235.c b/bsps/m68k/mcf5235/start/init5235.c index 5066941be0..980d6ab7f5 100644 --- a/bsps/m68k/mcf5235/start/init5235.c +++ b/bsps/m68k/mcf5235/start/init5235.c @@ -86,4 +86,8 @@ void Init5235 (void) */ CopyDataClearBSSAndStart (); + /* + * temp is really not used but tell the compiler it is. + */ + (void) temp; }