diff options
author | Kinsey Moore <kinsey.moore@oarcorp.com> | 2024-02-28 12:12:28 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2024-03-05 08:49:41 -0600 |
commit | da967ece679fc0d26434d33bdab597b49d514333 (patch) | |
tree | bb5565c67e511dc83797585869bba5694ac9412e /testsuites | |
parent | cpukit/libtest: Remove unused variable (diff) | |
download | rtems-da967ece679fc0d26434d33bdab597b49d514333.tar.bz2 |
testsuites/dhrystone: Initialize before use
This resovles a warning where a variable could be used before it is
initialized in some code paths.
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/benchmarks/dhrystone/dhry_1.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 |