Fix keil compilation error (#418)
* Fix compilation error when using the Keil tools with the Keil compiler.
diff --git a/queue.c b/queue.c
index 08d3799..f3899ae 100644
--- a/queue.c
+++ b/queue.c
@@ -2756,11 +2756,10 @@
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