aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-01-20 17:35:34 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-01-20 17:35:34 +0000
commit97afba1b14eb60321651de96a8ec5c04c2dcf816 (patch)
tree565846d23da91d6ce97454c41b4c84bd04d4789a
parentterm: fix reset state of VT state (diff)
dcs: remove assert; handler may be zero on unimplemented OCS command
-rw-r--r--dcs.c1
1 files changed, 0 insertions, 1 deletions
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);