diff options
author | nicm <nicm> | 2021-08-21 17:25:32 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-08-21 17:25:32 +0000 |
commit | 5241dae87de88906dc5c1dc271a4f25522a22d4c (patch) | |
tree | 17be354eb3556ed62cfdc74f2a8e4ecfe6599a22 /cmd-bind-key.c | |
parent | 68cacaec68ca8300e0ea439abdf9db16e74241bb (diff) | |
download | rtmux-5241dae87de88906dc5c1dc271a4f25522a22d4c.tar.gz rtmux-5241dae87de88906dc5c1dc271a4f25522a22d4c.tar.bz2 rtmux-5241dae87de88906dc5c1dc271a4f25522a22d4c.zip |
Stop caring about empty commands, just treat as a null command.
Diffstat (limited to 'cmd-bind-key.c')
-rw-r--r-- | cmd-bind-key.c | 3 |
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); |