From 1ae93fbb63ffe3031bdd78f37644e506fb26133c Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Sat, 20 Nov 2010 14:37:25 +0000 Subject: [PATCH] Add in a missing initialisation to zero for a variable in recmutex.c. Should not really make any difference as the variable should be cleared to zero by the C start up code anyway. --- Demo/Common/Minimal/recmutex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Demo/Common/Minimal/recmutex.c b/Demo/Common/Minimal/recmutex.c index dacbf2780..0d7f94181 100644 --- a/Demo/Common/Minimal/recmutex.c +++ b/Demo/Common/Minimal/recmutex.c @@ -118,7 +118,7 @@ static xSemaphoreHandle xMutex; /* Variables used to detect and latch errors. */ static volatile portBASE_TYPE xErrorOccurred = pdFALSE, xControllingIsSuspended = pdFALSE, xBlockingIsSuspended = pdFALSE; -static volatile unsigned portBASE_TYPE uxControllingCycles = 0, uxBlockingCycles, uxPollingCycles = 0; +static volatile unsigned portBASE_TYPE uxControllingCycles = 0, uxBlockingCycles = 0, uxPollingCycles = 0; /* Handles of the two higher priority tasks, required so they can be resumed (unsuspended). */