subsys: logging: Fix switch statement
According with MISRA-C and unconditional break statement must terminate every switch-clause. MISRA-C rule 16.1 and 16.3 Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
19301849e8
commit
3ced176088
1 changed files with 1 additions and 0 deletions
|
@ -285,6 +285,7 @@ static void std_print(struct log_msg *msg,
|
|||
default:
|
||||
/* Unsupported number of arguments. */
|
||||
assert(true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue