mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-10-06 10:59:48 +08:00
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.
This commit is contained in:
committed by
Gedare Bloom
parent
aeb72aa8e1
commit
64d49f6585
@@ -86,4 +86,8 @@ void Init5235 (void)
|
||||
*/
|
||||
CopyDataClearBSSAndStart ();
|
||||
|
||||
/*
|
||||
* temp is really not used but tell the compiler it is.
|
||||
*/
|
||||
(void) temp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user