Remove unnecessary initializers of cmd_ctx.

This commit is contained in:
Nicholas Marriott
2013-02-18 23:38:57 +00:00
parent 255a4f8ce3
commit 693244795c
6 changed files with 0 additions and 17 deletions

View File

@ -109,10 +109,7 @@ control_callback(struct client *c, int closed, unused void *data)
}
ctx = cmd_get_ctx();
ctx->msgdata = NULL;
ctx->cmdclient = NULL;
ctx->curclient = c;
ctx->error = control_msg_error;
ctx->print = control_msg_print;
ctx->info = control_msg_info;