Fix keil compilation error (#418)

* Fix compilation error when using the Keil tools with the Keil compiler.
This commit is contained in:
RichardBarry 2021-11-18 11:04:57 -08:00 committed by GitHub
parent 6ac9aaec95
commit e13f990385
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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