From da967ece679fc0d26434d33bdab597b49d514333 Mon Sep 17 00:00:00 2001 From: Kinsey Moore Date: Wed, 28 Feb 2024 12:12:28 -0600 Subject: testsuites/dhrystone: Initialize before use This resovles a warning where a variable could be used before it is initialized in some code paths. --- testsuites/benchmarks/dhrystone/dhry_1.c | 1 + 1 file changed, 1 insertion(+) (limited to 'testsuites/benchmarks') diff --git a/testsuites/benchmarks/dhrystone/dhry_1.c b/testsuites/benchmarks/dhrystone/dhry_1.c index 3ad2e7f204..ef6ecf9251 100644 --- a/testsuites/benchmarks/dhrystone/dhry_1.c +++ b/testsuites/benchmarks/dhrystone/dhry_1.c @@ -133,6 +133,7 @@ execution_start: #ifdef __rtems__ /* avoid used uninitialized warning */ + Int_1_Loc = 0; Int_2_Loc = 0; #endif -- cgit v1.2.3