From 693244795c36ef0d955aa7095ffd335a1846fe05 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 18 Feb 2013 23:38:57 +0000 Subject: Remove unnecessary initializers of cmd_ctx. --- key-bindings.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'key-bindings.c') diff --git a/key-bindings.c b/key-bindings.c index a25d3700..f510ba68 100644 --- a/key-bindings.c +++ b/key-bindings.c @@ -267,10 +267,7 @@ key_bindings_dispatch(struct key_binding *bd, struct client *c) int readonly; ctx = cmd_get_ctx(); - ctx->msgdata = NULL; - ctx->cmdclient = NULL; ctx->curclient = c; - ctx->error = key_bindings_error; ctx->print = key_bindings_print; ctx->info = key_bindings_info; -- cgit