summaryrefslogtreecommitdiffstats
path: root/cmd-bind-key.c
diff options
context:
space:
mode:
authornicm <nicm>2021-08-21 17:25:32 +0000
committernicm <nicm>2021-08-21 17:25:32 +0000
commit5241dae87de88906dc5c1dc271a4f25522a22d4c (patch)
tree17be354eb3556ed62cfdc74f2a8e4ecfe6599a22 /cmd-bind-key.c
parent68cacaec68ca8300e0ea439abdf9db16e74241bb (diff)
Stop caring about empty commands, just treat as a null command.
Diffstat (limited to 'cmd-bind-key.c')
-rw-r--r--cmd-bind-key.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/cmd-bind-key.c b/cmd-bind-key.c
index a16d054e..97057b3a 100644
--- a/cmd-bind-key.c
+++ b/cmd-bind-key.c
@@ -75,9 +75,6 @@ cmd_bind_key_exec(struct cmd *self, struct cmdq_item *item)
cmd_free_argv(argc, argv);
}
switch (pr->status) {
- case CMD_PARSE_EMPTY:
- cmdq_error(item, "empty command");
- return (CMD_RETURN_ERROR);
case CMD_PARSE_ERROR:
cmdq_error(item, "%s", pr->error);
free(pr->error);