From: richardbarry Date: Sat, 20 Nov 2010 14:37:25 +0000 (+0000) Subject: Add in a missing initialisation to zero for a variable in recmutex.c. Should not... X-Git-Tag: V6.1.1~109 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d945fd734bd0ce55d47997fc1a6fd3c49269287f;p=freertos 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 --- 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). */