From a1b7c96bd761b020a6a88791e1861829ee7cf775 Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 20 Aug 2021 19:08:36 +0000 Subject: [PATCH] Remove some unnecessary blank lines. --- usr.bin/tmux/cmd-new-window.c | 3 +-- usr.bin/tmux/server-client.c | 4 +--- usr.bin/tmux/window-copy.c | 3 +-- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/usr.bin/tmux/cmd-new-window.c b/usr.bin/tmux/cmd-new-window.c index de34fbbefdd..d94f7e8a2bf 100644 --- a/usr.bin/tmux/cmd-new-window.c +++ b/usr.bin/tmux/cmd-new-window.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-new-window.c,v 1.91 2021/08/20 18:59:53 nicm Exp $ */ +/* $OpenBSD: cmd-new-window.c,v 1.92 2021/08/20 19:08:36 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -94,7 +94,6 @@ cmd_new_window_exec(struct cmd *self, struct cmdq_item *item) } } - before = args_has(args, 'b'); if (args_has(args, 'a') || before) { idx = winlink_shuffle_up(s, wl, before); diff --git a/usr.bin/tmux/server-client.c b/usr.bin/tmux/server-client.c index 099e72065db..3a489378b10 100644 --- a/usr.bin/tmux/server-client.c +++ b/usr.bin/tmux/server-client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server-client.c,v 1.381 2021/08/20 17:50:42 nicm Exp $ */ +/* $OpenBSD: server-client.c,v 1.382 2021/08/20 19:08:36 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott @@ -309,7 +309,6 @@ server_client_attached_lost(struct client *c) } } - /* Set client session. */ void server_client_set_session(struct client *c, struct session *s) @@ -1554,7 +1553,6 @@ server_client_check_pane_resize(struct window_pane *wp) evtimer_add(&wp->resize_timer, &tv); } - /* Check pane buffer size. */ static void server_client_check_pane_buffer(struct window_pane *wp) diff --git a/usr.bin/tmux/window-copy.c b/usr.bin/tmux/window-copy.c index 481ee9de7bf..6d9e1845c23 100644 --- a/usr.bin/tmux/window-copy.c +++ b/usr.bin/tmux/window-copy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window-copy.c,v 1.327 2021/08/20 17:50:42 nicm Exp $ */ +/* $OpenBSD: window-copy.c,v 1.328 2021/08/20 19:08:36 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -1885,7 +1885,6 @@ window_copy_cmd_select_word(struct window_copy_cmd_state *cs) struct window_copy_mode_data *data = wme->data; u_int px, py, nextx, nexty; - data->lineflag = LINE_SEL_LEFT_RIGHT; data->rectflag = 0; data->selflag = SEL_WORD; -- 2.20.1