diff mbox series

[fbtest,16/17] visops: Mark fall-through switch case

Message ID 20241215104508.191237-17-geert@linux-m68k.org
State New
Headers show
Series Export feature and large ellipses support | expand

Commit Message

Geert Uytterhoeven Dec. 15, 2024, 10:45 a.m. UTC
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 visops/pseudocolor.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/visops/pseudocolor.c b/visops/pseudocolor.c
index 2c3f4d9ac29b7b5e..112e2144979afbf3 100644
--- a/visops/pseudocolor.c
+++ b/visops/pseudocolor.c
@@ -50,6 +50,7 @@  void pseudocolor_create_tables(u32 bpp)
 	switch (bpp % 3) {
 	    case 2:
 		red_bits++;
+		__attribute__ ((fallthrough));
 	    case 1:
 		green_bits++;
 	}