From f84d44d2a9139f3c5b58d7875bc5ef0d94881008 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sat, 10 Jun 2023 17:01:56 +0100 Subject: Remove some paranoia about missing commands There's absolutely no reason these ever wouldn't be there. --- src/bind.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/bind.c') diff --git a/src/bind.c b/src/bind.c index 37a34ea..a1481bb 100644 --- a/src/bind.c +++ b/src/bind.c @@ -56,10 +56,6 @@ static bool find_keyinfo(con_cmdcb klbc_cb) { INIT { struct con_cmd *cmd_key_listboundkeys = con_findcmd("key_listboundkeys"); - if (!cmd_key_listboundkeys) { - errmsg_errorx("couldn't find key_listboundkeys command"); - return false; - } con_cmdcb cb = con_getcmdcb(cmd_key_listboundkeys); if (!find_keyinfo(cb)) { errmsg_warnx("couldn't find key binding list"); -- cgit v1.2.3