Style nits and an unused struct.

This commit is contained in:
nicm 2017-04-21 18:18:17 +00:00
parent afa4e3ed9c
commit 3c876235cc
2 changed files with 2 additions and 4 deletions

View File

@ -206,7 +206,7 @@ cmdq_fire_command(struct cmdq_item *item)
goto out; goto out;
} }
if (item->client == NULL) if (item->client == NULL)
item->client = cmd_find_client(item, NULL, CMD_FIND_QUIET); item->client = cmd_find_client(item, NULL, 1);
retval = cmd->entry->exec(cmd, item); retval = cmd->entry->exec(cmd, item);
if (retval == CMD_RETURN_ERROR) if (retval == CMD_RETURN_ERROR)
@ -325,8 +325,7 @@ cmdq_next(struct client *c)
item->time = time(NULL); item->time = time(NULL);
item->number = ++number; item->number = ++number;
switch (item->type) switch (item->type) {
{
case CMDQ_COMMAND: case CMDQ_COMMAND:
retval = cmdq_fire_command(item); retval = cmdq_fire_command(item);

1
tmux.h
View File

@ -41,7 +41,6 @@ extern char **environ;
struct args; struct args;
struct client; struct client;
struct cmdq_item; struct cmdq_item;
struct cmdq_subitem;
struct cmdq_list; struct cmdq_list;
struct environ; struct environ;
struct input_ctx; struct input_ctx;