Suppress false null dereference

Coverity provides a false positive
of pxQueueSetContainer being null.
This commit is contained in:
Kody Stribrny 2026-02-23 08:36:28 -08:00
parent 9a39b1d39c
commit 98ffa0d892

View file

@ -3343,6 +3343,8 @@ BaseType_t xQueueIsQueueFullFromISR( const QueueHandle_t xQueue )
configASSERT( pxQueueSetContainer ); /* LCOV_EXCL_BR_LINE */
configASSERT( pxQueueSetContainer->uxMessagesWaiting < pxQueueSetContainer->uxLength );
/* pxQueue->pxQueueSetContainer is verified to be non-null by caller. */
/* coverity[dereference] */
if( pxQueueSetContainer->uxMessagesWaiting < pxQueueSetContainer->uxLength )
{
const int8_t cTxLock = pxQueueSetContainer->cTxLock;