Add parentheses back around pxList->uxNumberOfItems where removed.

This commit is contained in:
bradleysmith23 2024-02-08 13:40:39 -08:00
parent d43aa7b9e5
commit 92bd6c5156

4
list.c
View file

@ -205,7 +205,7 @@ void vListInsert( List_t * const pxList,
* item later. */ * item later. */
pxNewListItem->pxContainer = pxList; pxNewListItem->pxContainer = pxList;
pxList->uxNumberOfItems += 1U; ( pxList->uxNumberOfItems ) += 1U;
traceRETURN_vListInsert(); traceRETURN_vListInsert();
} }
@ -237,7 +237,7 @@ UBaseType_t uxListRemove( ListItem_t * const pxItemToRemove )
} }
pxItemToRemove->pxContainer = NULL; pxItemToRemove->pxContainer = NULL;
pxList->uxNumberOfItems -= 1U; ( pxList->uxNumberOfItems ) -= 1U;
traceRETURN_uxListRemove( pxList->uxNumberOfItems ); traceRETURN_uxListRemove( pxList->uxNumberOfItems );