From 43cd40e87a41d9504dcac99419c96e3cdbb81029 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 23 Aug 2009 16:45:00 +0000 Subject: The cursession member in struct cmd_ctx is always either curclient->session or NULL when curclient is also NULL, so just eliminate it. --- cmd-command-prompt.c | 1 - 1 file changed, 1 deletion(-) (limited to 'cmd-command-prompt.c') diff --git a/cmd-command-prompt.c b/cmd-command-prompt.c index e4954ddd..cd417a61 100644 --- a/cmd-command-prompt.c +++ b/cmd-command-prompt.c @@ -238,7 +238,6 @@ cmd_command_prompt_callback(void *data, const char *s) } ctx.msgdata = NULL; - ctx.cursession = c->session; ctx.curclient = c; ctx.error = key_bindings_error; -- cgit