mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-20 21:44:05 +08:00
schedulerpriority.h: Fix gcc 12 warning
Changed the size of the array to 1 to get rid of the warning. Updates #4662
This commit is contained in:
@@ -94,7 +94,7 @@ typedef struct {
|
||||
/**
|
||||
* @brief One ready queue per priority level.
|
||||
*/
|
||||
Chain_Control Ready[ 0 ];
|
||||
Chain_Control Ready[ 1 ];
|
||||
} Scheduler_priority_Context;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user