dcs: remove assert; handler may be zero on unimplemented OCS command

This commit is contained in:
Daniel Eklöf 2020-01-20 18:35:34 +01:00
parent 0c11459eef
commit 97afba1b14
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

1
dcs.c
View file

@ -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);