dhrystone/dhry_1.c: Fix may be used uninitialized warning

This commit is contained in:
Joel Sherrill
2017-04-23 11:50:46 -05:00
parent 35e523d9d0
commit 906e67fe88
+5
View File
@@ -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)
{