mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-21 05:28:29 +08:00
dhrystone/dhry_1.c: Fix may be used uninitialized warning
This commit is contained in:
@@ -143,6 +143,11 @@ execution_start:
|
||||
Begin_Time = time ( (long *) 0);
|
||||
#endif
|
||||
|
||||
#ifdef __rtems__
|
||||
/* avoid used uninitialized warning */
|
||||
Int_2_Loc = 0;
|
||||
#endif
|
||||
|
||||
for (Run_Index = 1; Run_Index <= Number_Of_Runs; ++Run_Index)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user