summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-02-05 10:32:39 +0000
committernicm <nicm@openbsd.org>2015-02-05 10:32:39 +0000
commit1e65bf3740be45a53e0a6aaad216170394a4d8b2 (patch)
treefc04bbda767e2bd766cd496f275ece29de435afe
parentimplement "ifconfig <if> -inet", removing all inet addresses (diff)
downloadwireguard-openbsd-1e65bf3740be45a53e0a6aaad216170394a4d8b2.tar.xz
wireguard-openbsd-1e65bf3740be45a53e0a6aaad216170394a4d8b2.zip
Remove a couple of now-unused variables.
-rw-r--r--usr.bin/tmux/cmd-new-window.c3
-rw-r--r--usr.bin/tmux/cmd-split-window.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/tmux/cmd-new-window.c b/usr.bin/tmux/cmd-new-window.c
index f01ec26b1ce..fc6cb36da22 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.44 2015/02/05 10:29:43 nicm Exp $ */
+/* $OpenBSD: cmd-new-window.c,v 1.45 2015/02/05 10:32:39 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -49,7 +49,6 @@ cmd_new_window_exec(struct cmd *self, struct cmd_q *cmdq)
struct args *args = self->args;
struct session *s;
struct winlink *wl;
- struct client *c;
const char *cmd, *path, *template;
char **argv, *cause, *cp;
int argc, idx, last, detached, cwd, fd = -1;
diff --git a/usr.bin/tmux/cmd-split-window.c b/usr.bin/tmux/cmd-split-window.c
index 6cd066ed968..77af6aff117 100644
--- a/usr.bin/tmux/cmd-split-window.c
+++ b/usr.bin/tmux/cmd-split-window.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-split-window.c,v 1.55 2015/02/05 10:29:43 nicm Exp $ */
+/* $OpenBSD: cmd-split-window.c,v 1.56 2015/02/05 10:32:39 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -59,7 +59,6 @@ cmd_split_window_exec(struct cmd *self, struct cmd_q *cmdq)
int argc, size, percentage, cwd, fd = -1;
enum layout_type type;
struct layout_cell *lc;
- struct client *c;
struct format_tree *ft;
struct environ_entry *envent;