25 Sep
2017
25 Sep
'17
9:52 p.m.
Make static analysis warnings go away and comply with MISRA rules: the final clause of a switch statement shall be the default case
Signed-off-by: Pierre-Louis Bossart pierre-louis.bossart@linux.intel.com --- src/audio/pipeline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/audio/pipeline.c b/src/audio/pipeline.c index 7531f41..a5f7a5d 100644 --- a/src/audio/pipeline.c +++ b/src/audio/pipeline.c @@ -205,8 +205,8 @@ static void pipeline_cmd_update(struct pipeline *p, struct comp_dev *comp,
break; case COMP_CMD_SUSPEND: - break; case COMP_CMD_RESUME: + default: break; } }
--
2.11.0