[pango/compiler-warnings: 1/4] Annotate implicit fallthrough



commit 375da4cb1693cc97d689d0d4163a07d6a254f9dc
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Aug 1 22:37:45 2019 -0400

    Annotate implicit fallthrough
    
    This triggers compiler warnings.

 pango/break.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/pango/break.c b/pango/break.c
index abaf7d9b..14986c78 100644
--- a/pango/break.c
+++ b/pango/break.c
@@ -421,6 +421,7 @@ pango_default_break (const gchar   *text,
                GB_type = GB_ControlCRLF;
                break;
              }
+           /* fall through */
 
          case G_UNICODE_OTHER_LETTER:
            if (makes_hangul_syllable)


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