mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-06 17:30:22 +08:00
Fix MISRA C 2012 Rule 11.1 deviations (#856)
* Update callback function prototype to align with definition * Suppress unused function pointer parameter --------- Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com> Co-authored-by: Ubuntu <ubuntu@ip-172-31-34-245.ap-northeast-1.compute.internal> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com> Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com> Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
@ -1507,10 +1507,17 @@ static void prvInitialiseNewStreamBuffer( StreamBuffer_t * const pxStreamBuffer,
|
||||
}
|
||||
#else
|
||||
{
|
||||
/* MISRA Ref 11.1.1 [Object type casting] */
|
||||
/* More details at: https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/main/MISRA.md#rule-111 */
|
||||
/* coverity[misra_c_2012_rule_11_1_violation] */
|
||||
( void ) pxSendCompletedCallback;
|
||||
|
||||
/* MISRA Ref 11.1.1 [Object type casting] */
|
||||
/* More details at: https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/main/MISRA.md#rule-111 */
|
||||
/* coverity[misra_c_2012_rule_11_1_violation] */
|
||||
( void ) pxReceiveCompletedCallback;
|
||||
}
|
||||
#endif
|
||||
#endif /* if ( configUSE_SB_COMPLETED_CALLBACK == 1 ) */
|
||||
}
|
||||
|
||||
#if ( configUSE_TRACE_FACILITY == 1 )
|
||||
|
Reference in New Issue
Block a user