summaryrefslogtreecommitdiffhomepage
path: root/src/bind.c
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2023-06-10 17:01:56 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2023-06-10 17:01:56 +0100
commitf84d44d2a9139f3c5b58d7875bc5ef0d94881008 (patch)
tree7f885b63de3b077514063cde275db1a4750ec359 /src/bind.c
parent1c4318331663b152b0b298bd2c9e5c971506a86b (diff)
Remove some paranoia about missing commands
There's absolutely no reason these ever wouldn't be there.
Diffstat (limited to 'src/bind.c')
-rw-r--r--src/bind.c4
1 files changed, 0 insertions, 4 deletions
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");