mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-18 20:39:05 +08:00
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.
This commit is contained in:
committed by
Gedare Bloom
parent
8ac4b4c412
commit
aeb72aa8e1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user