Skip to content
Commit 9eab89ff authored by Maksim Masalski's avatar Maksim Masalski Committed by Kumar Gala
Browse files

lib: replace one case switch with if operator



Current "switch" operator with one case replace with the "if"
operator, because every switch statement shall have at least
two case-clauses.

Found as a coding guideline violation (MISRA R16.1) by static
coding scanning tool.

Signed-off-by: default avatarMaksim Masalski <maksim.masalski@intel.com>
parent a61edd48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment