summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-if-shell.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2012-08-11 07:32:16 +0000
committernicm <nicm@openbsd.org>2012-08-11 07:32:16 +0000
commita4496cefb806e19290b9d4dfaaf831d34d2a1d83 (patch)
treec676b7f5c2c33a61055c3e0888f8a12627d47b47 /usr.bin/tmux/cmd-if-shell.c
parentAnother missing format from sam at sltosis.org. (diff)
downloadwireguard-openbsd-a4496cefb806e19290b9d4dfaaf831d34d2a1d83.tar.xz
wireguard-openbsd-a4496cefb806e19290b9d4dfaaf831d34d2a1d83.zip
Remove dead code, from Sean Estabrooks.
Diffstat (limited to 'usr.bin/tmux/cmd-if-shell.c')
-rw-r--r--usr.bin/tmux/cmd-if-shell.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-if-shell.c b/usr.bin/tmux/cmd-if-shell.c
index d3579c6223c..7094458d744 100644
--- a/usr.bin/tmux/cmd-if-shell.c
+++ b/usr.bin/tmux/cmd-if-shell.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-if-shell.c,v 1.16 2012/07/11 07:10:15 nicm Exp $ */
+/* $OpenBSD: cmd-if-shell.c,v 1.17 2012/08/11 07:32:16 nicm Exp $ */
/*
* Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org>
@@ -106,11 +106,9 @@ cmd_if_shell_free(void *data)
{
struct cmd_if_shell_data *cdata = data;
struct cmd_ctx *ctx = &cdata->ctx;
- struct msg_exit_data exitdata;
if (ctx->cmdclient != NULL) {
ctx->cmdclient->references--;
- exitdata.retcode = ctx->cmdclient->retcode;
ctx->cmdclient->flags |= CLIENT_EXIT;
}
if (ctx->curclient != NULL)