forked from Imagelibrary/rtems
sptests/spsysinit01: Fix warning
This commit is contained in:
@@ -514,7 +514,7 @@ static size_t user_extensions_pre_posix_cleanup;
|
|||||||
FIRST(RTEMS_SYSINIT_POSIX_CLEANUP)
|
FIRST(RTEMS_SYSINIT_POSIX_CLEANUP)
|
||||||
{
|
{
|
||||||
user_extensions_pre_posix_cleanup =
|
user_extensions_pre_posix_cleanup =
|
||||||
_Chain_Node_count_unprotected(&_User_extensions_List);
|
_Chain_Node_count_unprotected(&_User_extensions_List.Active);
|
||||||
next_step(POSIX_CLEANUP_PRE);
|
next_step(POSIX_CLEANUP_PRE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -522,7 +522,7 @@ LAST(RTEMS_SYSINIT_POSIX_CLEANUP)
|
|||||||
{
|
{
|
||||||
assert(
|
assert(
|
||||||
user_extensions_pre_posix_cleanup + 1 ==
|
user_extensions_pre_posix_cleanup + 1 ==
|
||||||
_Chain_Node_count_unprotected(&_User_extensions_List)
|
_Chain_Node_count_unprotected(&_User_extensions_List.Active)
|
||||||
);
|
);
|
||||||
next_step(POSIX_CLEANUP_POST);
|
next_step(POSIX_CLEANUP_POST);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user