diff --git a/queue.c b/queue.c index 08d3799da..f3899aebf 100644 --- a/queue.c +++ b/queue.c @@ -2756,11 +2756,10 @@ BaseType_t xQueueIsQueueFullFromISR( const QueueHandle_t xQueue ) const char * pcQueueName ) /*lint !e971 Unqualified char types are allowed for strings and single characters only. */ { UBaseType_t ux; + QueueRegistryItem_t * pxEntryToWrite = NULL; configASSERT( xQueue ); - QueueRegistryItem_t * pxEntryToWrite = NULL; - if( pcQueueName != NULL ) { /* See if there is an empty space in the registry. A NULL name denotes