summaryrefslogtreecommitdiffstats
path: root/cmd-unlink-window.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-09-20 22:17:03 +0000
committerTiago Cunha <tcunha@gmx.com>2009-09-20 22:17:03 +0000
commitbd24bdd411ce7868bd2f7a6b972468693392542f (patch)
treeedb2831b4aef099a9f1c0db3561c58fe1bb982a4 /cmd-unlink-window.c
parent7335ef5792791e803b090fb9d54718604a0d7dab (diff)
Sync OpenBSD patchset 334:
Nuke unused variables and fix stupid error message.
Diffstat (limited to 'cmd-unlink-window.c')
-rw-r--r--cmd-unlink-window.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/cmd-unlink-window.c b/cmd-unlink-window.c
index ce3fa430..dea0a058 100644
--- a/cmd-unlink-window.c
+++ b/cmd-unlink-window.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-unlink-window.c,v 1.17 2009-09-20 22:15:32 tcunha Exp $ */
+/* $Id: cmd-unlink-window.c,v 1.18 2009-09-20 22:17:03 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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);