summaryrefslogtreecommitdiffstats
path: root/input.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2024-03-21 11:37:09 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2024-03-21 11:37:09 +0000
commitaa17f0e0c1c8b3f1d6fc8617613c74f07de66fae (patch)
treeb90b9f0c25c04409339167b9d861eef3c10161f3 /input.c
parentbf5d3f2e26bb9add9e31d72932aea5580be8b653 (diff)
Fix crash if SIXEL colour register is invalid and remove SIXEL images before
reflow to avoid a different crash, from Anindya Mukherjee.
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index eb421b28..e6016121 100644
--- a/input.c
+++ b/input.c
@@ -1839,7 +1839,7 @@ input_csi_dispatch_sm_private(struct input_ctx *ictx)
/* Handle CSI graphics SM. */
static void
-input_csi_dispatch_sm_graphics(struct input_ctx *ictx)
+input_csi_dispatch_sm_graphics(__unused struct input_ctx *ictx)
{
#ifdef ENABLE_SIXEL
int n, m, o;