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

lib: add default labels and comments to switch statements



According to the Zephyr Coding Guideline all switch statements
shall be well-formed.
Added a default labels to switch-clauses without them.
Added comments to the empty default cases.

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 82ec1c0e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment