diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-03-03 17:28:38 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-09-19 18:41:21 +0300 |
commit | 8cad99802b11bb60480d813b5974183e923bd492 (patch) | |
tree | 84c76b042fbf0f0dd4d4e4a7094cc57c11fb5c12 /src/sna/sna_render.c | |
parent | f9f318e45540e2b99fe400114b2cde7ef2675a5d (diff) |
sna: Annotate more fall throughs
Sprinkle fall through comments where needed.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'src/sna/sna_render.c')
-rw-r--r-- | src/sna/sna_render.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/sna_render.c b/src/sna/sna_render.c index 1787ffae..904d4400 100644 --- a/src/sna/sna_render.c +++ b/src/sna/sna_render.c @@ -58,7 +58,7 @@ sna_format_for_depth(int depth) case 8: return PICT_a8; case 15: return PICT_x1r5g5b5; case 16: return PICT_r5g6b5; - default: assert(0); + default: assert(0); /* fall through */ case 24: return PICT_x8r8g8b8; #if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,6,99,900,0) case 30: return PICT_x2r10g10b10; @@ -77,7 +77,7 @@ sna_render_format_for_depth(int depth) case 15: return PIXMAN_a1r5g5b5; case 16: return PIXMAN_r5g6b5; case 30: return PIXMAN_a2r10g10b10; - default: assert(0); + default: assert(0); /* fall through */ case 24: case 32: return PIXMAN_a8r8g8b8; } |