From d945fd734bd0ce55d47997fc1a6fd3c49269287f Mon Sep 17 00:00:00 2001 From: richardbarry 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. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1148 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- 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). */ -- 2.39.5