From dda8142f275222b147bc91494ebda7f8c8e4059b Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 1 Dec 2017 15:22:02 +0100 Subject: ada/sp07: Fix uninitialized variable Bug was introduced by d5154d0f6a04f3b7ed59d9a09038576fe2640756. Updates #2493. --- testsuites/ada/sptests/sp07/sptest.adb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'testsuites/ada/sptests/sp07') diff --git a/testsuites/ada/sptests/sp07/sptest.adb b/testsuites/ada/sptests/sp07/sptest.adb index e008336065..2ab9cf641b 100644 --- a/testsuites/ada/sptests/sp07/sptest.adb +++ b/testsuites/ada/sptests/sp07/sptest.adb @@ -316,6 +316,8 @@ package body SPTEST is PREVIOUS_PRIORITY : RTEMS.TASKS.PRIORITY; begin + THE_PRIORITY := 4; + loop THE_PRIORITY := THE_PRIORITY - 1; -- cgit v1.2.3