aboutsummaryrefslogtreecommitdiff
path: root/cmd-if-shell.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-08-12 19:30:54 +0000
committerTiago Cunha <tcunha@gmx.com>2012-08-12 19:30:54 +0000
commitdb27dc82f0485c0d3032aac369416207a794f69a (patch)
tree0f41dfc6a7c66a121104e922638149a7cce35f2f /cmd-if-shell.c
parent061027fefca452a259c239ba7e201242e2adb39c (diff)
downloadrtmux-db27dc82f0485c0d3032aac369416207a794f69a.tar.gz
rtmux-db27dc82f0485c0d3032aac369416207a794f69a.tar.bz2
rtmux-db27dc82f0485c0d3032aac369416207a794f69a.zip
Sync OpenBSD patchset 1159:
Remove dead code, from Sean Estabrooks.
Diffstat (limited to 'cmd-if-shell.c')
-rw-r--r--cmd-if-shell.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd-if-shell.c b/cmd-if-shell.c
index 37474475..636cf805 100644
--- a/cmd-if-shell.c
+++ b/cmd-if-shell.c
@@ -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)