This commit is contained in:
OmniManAintGotNothingOnMe 2025-07-02 14:53:54 +04:00 committed by GitHub
commit 8b2c5519f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

1
list.c
View file

@ -216,6 +216,7 @@ void vListInsert( List_t * const pxList,
UBaseType_t uxListRemove( ListItem_t * const pxItemToRemove ) UBaseType_t uxListRemove( ListItem_t * const pxItemToRemove )
{ {
configASSERT( pxItemToRemove->pxContainer != NULL );
/* The list item knows which list it is in. Obtain the list from the list /* The list item knows which list it is in. Obtain the list from the list
* item. */ * item. */
List_t * const pxList = pxItemToRemove->pxContainer; List_t * const pxList = pxItemToRemove->pxContainer;