[pango/compiler-warnings: 5/13] emoji: Silence compiler warnings




commit 3002350157f63564e65f07dd00ba4db5892d4dfe
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Aug 22 02:00:49 2021 -0400

    emoji: Silence compiler warnings

 pango/pango-emoji.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/pango/pango-emoji.c b/pango/pango-emoji.c
index 334970d6..e1f16dba 100644
--- a/pango/pango-emoji.c
+++ b/pango/pango-emoji.c
@@ -205,7 +205,10 @@ typedef gboolean bool;
 enum { false = FALSE, true = TRUE };
 typedef unsigned char *emoji_text_iter_t;
 
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wswitch-default"
 #include "emoji_presentation_scanner.c"
+#pragma GCC diagnostic pop
 
 
 PangoEmojiIter *


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