summaryrefslogtreecommitdiffstats
path: root/cmd-unlink-window.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-09-20 17:31:26 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-09-20 17:31:26 +0000
commit105ce36792717a0916cab18b7dd0a11db1f7c84a (patch)
tree3e5f93c11b2c626dbe306530bf1e0a5660a0d56a /cmd-unlink-window.c
parent9b5f5ed8e8f74a9a615dfb6f5975b2f054d6d1fd (diff)
Nuke unused variables and fix stupid error message.
Diffstat (limited to 'cmd-unlink-window.c')
-rw-r--r--cmd-unlink-window.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/cmd-unlink-window.c b/cmd-unlink-window.c
index 5c9f811b..38904689 100644
--- a/cmd-unlink-window.c
+++ b/cmd-unlink-window.c
@@ -43,9 +43,6 @@ cmd_unlink_window_exec(struct cmd *self, struct cmd_ctx *ctx)
struct cmd_target_data *data = self->data;
struct winlink *wl;
struct session *s;
- struct client *c;
- u_int i;
- int destroyed;
if ((wl = cmd_find_window(ctx, data->target, &s)) == NULL)
return (-1);