From: nicm Date: Fri, 21 Apr 2017 18:18:17 +0000 (+0000) Subject: Style nits and an unused struct. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=33a044c77fdcd44647d9e4e4d227db1368166b13;p=openbsd Style nits and an unused struct. --- 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 @@ -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 @@ -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;