mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-07 13:45:00 -05:00
Add parentheses back around pxList->uxNumberOfItems where removed.
This commit is contained in:
parent
d43aa7b9e5
commit
92bd6c5156
1 changed files with 2 additions and 2 deletions
4
list.c
4
list.c
|
|
@ -205,7 +205,7 @@ void vListInsert( List_t * const pxList,
|
|||
* item later. */
|
||||
pxNewListItem->pxContainer = pxList;
|
||||
|
||||
pxList->uxNumberOfItems += 1U;
|
||||
( pxList->uxNumberOfItems ) += 1U;
|
||||
|
||||
traceRETURN_vListInsert();
|
||||
}
|
||||
|
|
@ -237,7 +237,7 @@ UBaseType_t uxListRemove( ListItem_t * const pxItemToRemove )
|
|||
}
|
||||
|
||||
pxItemToRemove->pxContainer = NULL;
|
||||
pxList->uxNumberOfItems -= 1U;
|
||||
( pxList->uxNumberOfItems ) -= 1U;
|
||||
|
||||
traceRETURN_uxListRemove( pxList->uxNumberOfItems );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue