mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
The cursession member in struct cmd_ctx is always either curclient->session or
NULL when curclient is also NULL, so just eliminate it.
This commit is contained in:
@ -122,7 +122,6 @@ cmd_confirm_before_callback(void *data, const char *s)
|
||||
}
|
||||
|
||||
ctx.msgdata = NULL;
|
||||
ctx.cursession = c->session;
|
||||
ctx.curclient = c;
|
||||
|
||||
ctx.error = key_bindings_error;
|
||||
|
Reference in New Issue
Block a user