From 5241dae87de88906dc5c1dc271a4f25522a22d4c Mon Sep 17 00:00:00 2001 From: nicm Date: Sat, 21 Aug 2021 17:25:32 +0000 Subject: Stop caring about empty commands, just treat as a null command. --- cmd-bind-key.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'cmd-bind-key.c') 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); -- cgit