summaryrefslogtreecommitdiffstats
path: root/cmd-command-prompt.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-08-23 16:45:00 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-08-23 16:45:00 +0000
commit43cd40e87a41d9504dcac99419c96e3cdbb81029 (patch)
treef6ec67c9e1fd7cd800ce8ef67b96633afd7cacff /cmd-command-prompt.c
parent1eb303e6d401c1ef2992933532eb2d7eab36cecf (diff)
The cursession member in struct cmd_ctx is always either curclient->session or
NULL when curclient is also NULL, so just eliminate it.
Diffstat (limited to 'cmd-command-prompt.c')
-rw-r--r--cmd-command-prompt.c1
1 files changed, 0 insertions, 1 deletions
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;