[Sound-open-firmware] [PATCH 02/10] pipeline: add missing default case
Pierre-Louis Bossart
pierre-louis.bossart at linux.intel.com
Mon Sep 25 21:52:10 CEST 2017
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 at 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
More information about the Sound-open-firmware
mailing list