diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-04-21 18:18:18 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-04-21 18:18:18 +0000 |
commit | 65b10e6aba41deb8ef6a8fe2235da879bf750072 (patch) | |
tree | 0018ff33806442a66ff4b4752076c2b29ec22f0e /usr.bin | |
parent | ca28fb2043755502fca65409e942056800760537 (diff) |
Style nits and an unused struct.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tmux/cmd-queue.c | 7 | ||||
-rw-r--r-- | usr.bin/tmux/tmux.h | 3 |
2 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/tmux/cmd-queue.c b/usr.bin/tmux/cmd-queue.c index b4313ea2ec4..f1f88e0bb9b 100644 --- a/usr.bin/tmux/cmd-queue.c +++ b/usr.bin/tmux/cmd-queue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-queue.c,v 1.49 2017/04/21 14:01:19 nicm Exp $ */ +/* $OpenBSD: cmd-queue.c,v 1.50 2017/04/21 18:18:17 nicm Exp $ */ /* * Copyright (c) 2013 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -206,7 +206,7 @@ cmdq_fire_command(struct cmdq_item *item) goto out; } 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); if (retval == CMD_RETURN_ERROR) @@ -325,8 +325,7 @@ cmdq_next(struct client *c) item->time = time(NULL); item->number = ++number; - switch (item->type) - { + switch (item->type) { case CMDQ_COMMAND: retval = cmdq_fire_command(item); diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 10ddb3f24d9..7d1559a53b2 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.748 2017/04/21 17:22:20 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.749 2017/04/21 18:18:17 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -41,7 +41,6 @@ extern char **environ; struct args; struct client; struct cmdq_item; -struct cmdq_subitem; struct cmdq_list; struct environ; struct input_ctx; |