diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-08-23 16:45:00 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-08-23 16:45:00 +0000 |
commit | 43cd40e87a41d9504dcac99419c96e3cdbb81029 (patch) | |
tree | f6ec67c9e1fd7cd800ce8ef67b96633afd7cacff /cmd-command-prompt.c | |
parent | 1eb303e6d401c1ef2992933532eb2d7eab36cecf (diff) | |
download | rtmux-43cd40e87a41d9504dcac99419c96e3cdbb81029.tar.gz rtmux-43cd40e87a41d9504dcac99419c96e3cdbb81029.tar.bz2 rtmux-43cd40e87a41d9504dcac99419c96e3cdbb81029.zip |
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.c | 1 |
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; |