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)