Skip to content

Commit e13f990

Browse files
authored
Fix keil compilation error (#418)
* Fix compilation error when using the Keil tools with the Keil compiler.
1 parent 6ac9aae commit e13f990

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

queue.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2756,11 +2756,10 @@ BaseType_t xQueueIsQueueFullFromISR( const QueueHandle_t xQueue )
27562756
const char * pcQueueName ) /*lint !e971 Unqualified char types are allowed for strings and single characters only. */
27572757
{
27582758
UBaseType_t ux;
2759+
QueueRegistryItem_t * pxEntryToWrite = NULL;
27592760

27602761
configASSERT( xQueue );
27612762

2762-
QueueRegistryItem_t * pxEntryToWrite = NULL;
2763-
27642763
if( pcQueueName != NULL )
27652764
{
27662765
/* See if there is an empty space in the registry. A NULL name denotes

0 commit comments

Comments
 (0)