summaryrefslogtreecommitdiffstats
path: root/cmd-if-shell.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-08-11 07:32:16 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-08-11 07:32:16 +0000
commita194430e5de1f798913034099f4df72af3d9bd4b (patch)
tree502872cf8af018fd4c324da2deebd3b7460a488b /cmd-if-shell.c
parentcf2e65c0e2776ca14d5a70f52afa10da0d8d2bc7 (diff)
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 5e23fb10..4cb9de82 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)