sptests/spsysinit01: Fix warning

This commit is contained in:
Sebastian Huber
2016-04-20 14:00:44 +02:00
parent 4cf41fd511
commit bdf6cc2a73

View File

@@ -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);
} }