From 97afba1b14eb60321651de96a8ec5c04c2dcf816 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 20 Jan 2020 18:35:34 +0100 Subject: dcs: remove assert; handler may be zero on unimplemented OCS command --- dcs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dcs.c b/dcs.c index ee7e7646..50db65a5 100644 --- a/dcs.c +++ b/dcs.c @@ -85,7 +85,6 @@ dcs_put(struct terminal *term, uint8_t c) void dcs_unhook(struct terminal *term) { - assert(term->vt.dcs.unhook_handler != NULL); if (term->vt.dcs.unhook_handler != NULL) term->vt.dcs.unhook_handler(term); -- cgit v1.3