[pango/compiler-warnings: 3/11] emoji: Silence compiler warnings




commit ef415fe02cab1d2ee94e9f13488dfccb9c265fdf
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]