[Spice-devel] [PATCH v2 09/13] Add mention of fall-through comments

Christophe de Dinechin christophe at dinechin.org
Wed Feb 7 11:07:21 UTC 2018


From: Christophe de Dinechin <dinechin at redhat.com>

Signed-off-by: Christophe de Dinechin <dinechin at redhat.com>
---
 docs/spice_style.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/spice_style.txt b/docs/spice_style.txt
index ccc60bb3..e35272ec 100644
--- a/docs/spice_style.txt
+++ b/docs/spice_style.txt
@@ -293,6 +293,8 @@ default:
 }
 ----
 
+Use /* Fall through */ comments when there is no break (compilers will emit a warning otherwise)
+
 Types indentation
 ~~~~~~~~~~~~~~~~~
 
-- 
2.13.5 (Apple Git-94)



More information about the Spice-devel mailing list