summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-08-22 02:00:49 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-08-22 02:28:28 -0400
commit3002350157f63564e65f07dd00ba4db5892d4dfe (patch)
treec35b53bd78348d0dff6a21f1aa14e955c0f12540
parent2315f67a99049896456bbbde21838c0817954dee (diff)
downloadpango-3002350157f63564e65f07dd00ba4db5892d4dfe.tar.gz
emoji: Silence compiler warnings
-rw-r--r--pango/pango-emoji.c3
1 files changed, 3 insertions, 0 deletions
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 *