This patch introduced new warnings:

../../../cpukit/score/src/schedulerstrongapa.c: In function '_Scheduler_strong_APA_Get_highest_ready': ../../../cpukit/score/src/schedulerstrongapa.c:394:10: warning: 'highest_ready' may be used uninitialized in this function [-Wmaybe-uninitialized]
  394 |       if ( curr_node == highest_ready ) {
      |          ^
../../../cpukit/score/src/schedulerstrongapa.c: In function '_Scheduler_strong_APA_Enqueue': ../../../cpukit/score/src/schedulerstrongapa.c:600:38: warning: 'cpu_to_preempt' may be used uninitialized in this function [-Wmaybe-uninitialized]
  600 |     curr_strong_node->cpu_to_preempt = cpu_to_preempt;
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
../../../cpukit/score/src/schedulerstrongapa.c:676:33: note: 'cpu_to_preempt' was declared here
  676 |   Per_CPU_Control              *cpu_to_preempt;
      |                                 ^~~~~~~~~~~~~~
In file included from ../../../cpukit/include/rtems/score/objectdata.h:25,
                 from ../../../cpukit/include/rtems/score/thread.h:32,
                 from ../../../cpukit/include/rtems/score/scheduler.h:23,
from ../../../cpukit/include/rtems/score/schedulerstrongapa.h:41,
                 from ../../../cpukit/score/src/schedulerstrongapa.c:67:
../../../cpukit/include/rtems/score/chainimpl.h:677:18: warning: 'lowest_reachable' may be used uninitialized in this function [-Wmaybe-uninitialized]
  677 |   the_node->next = tail;
      |   ~~~~~~~~~~~~~~~^~~~~~
../../../cpukit/score/src/schedulerstrongapa.c:497:32: note: 'lowest_reachable' was declared here
  497 |   Scheduler_Node              *lowest_reachable;
--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to