aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vt.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/vt.c b/vt.c
index 7485fa43..6b6bbd0b 100644
--- a/vt.c
+++ b/vt.c
@@ -734,6 +734,11 @@ action_utf8_44(struct terminal *term, uint8_t c)
action_utf8_print(term, term->vt.utf8);
}
+#if defined(__GNUC__)
+ #pragma GCC diagnostic push
+ #pragma GCC diagnostic ignored "-Wpedantic"
+#endif
+
static enum state
state_ground_switch(struct terminal *term, uint8_t data)
{
@@ -1256,6 +1261,10 @@ state_utf8_43_switch(struct terminal *term, uint8_t data)
}
}
+#if defined(__GNUC__)
+ #pragma GCC diagnostic pop
+#endif
+
void
vt_from_slave(struct terminal *term, const uint8_t *data, size_t len)
{