mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-07 13:45:00 -05:00
Fix MISRA Rule 10.1 violations
This commit is contained in:
parent
ba1e2dad3c
commit
1ff3f69fd4
1 changed files with 1 additions and 1 deletions
|
|
@ -263,7 +263,7 @@
|
||||||
if( xKernelObjectPool[ i ].xInternalObjectHandle == NULL )
|
if( xKernelObjectPool[ i ].xInternalObjectHandle == NULL )
|
||||||
{
|
{
|
||||||
/* Mark this index as not free. */
|
/* Mark this index as not free. */
|
||||||
xKernelObjectPool[ i ].xInternalObjectHandle = ( OpaqueObjectHandle_t ) ( ~0 );
|
xKernelObjectPool[ i ].xInternalObjectHandle = ( OpaqueObjectHandle_t ) ( ~0U );
|
||||||
lFreeIndex = i;
|
lFreeIndex = i;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue