mirror of
https://github.com/tmux/tmux.git
synced 2025-01-13 03:48:51 +00:00
Style nits and an unused struct.
This commit is contained in:
parent
afa4e3ed9c
commit
3c876235cc
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user