[pango/compiler-warnings: 2/4] Avoid an implicit fallthrough



commit 8ffea42a6703cba1433a974f61ecfdf5ad966345
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Aug 1 22:38:19 2019 -0400

    Avoid an implicit fallthrough
    
    This was pretty clearly unintentional.

 pango/pangoft2-render.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/pango/pangoft2-render.c b/pango/pangoft2-render.c
index 3c573bce..6d299392 100644
--- a/pango/pangoft2-render.c
+++ b/pango/pangoft2-render.c
@@ -335,6 +335,7 @@ pango_ft2_renderer_draw_glyph (PangoRenderer *renderer,
                  break;
                case 0xff:
                  *d = 0xff;
+                  break;
                default:
                  *d = MIN ((gushort) *d + (gushort) *s, 0xff);
                  break;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]