Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Maksim Masalski <maksim.masalski@intel.com>
- Loading branch information