From f4518701e9a7749749e92a5019cde95d37e91b65 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Wed, 25 Jan 2017 10:07:18 -0600 Subject: [PATCH] doc: Add 'switch' to item M1 --- doc/coding-style.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/coding-style.txt b/doc/coding-style.txt index ca70aaee..c27a2f27 100644 --- a/doc/coding-style.txt +++ b/doc/coding-style.txt @@ -19,7 +19,7 @@ Besides the kernel coding style above, oFono has special flavors for its own. Some of them are mandatory (marked as 'M'), while some others are optional (marked as 'O'), but generally preferred. -M1: Blank line before and after an if/while/do/for statement +M1: Blank line before and after an if/while/do/for/switch statement ============================================================ There should be a blank line before if statement unless the if is nested and not preceded by an expression or variable declaration.