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:
Nicholas Marriott
2009-08-23 16:45:00 +00:00
parent 1eb303e6d4
commit 43cd40e87a
7 changed files with 3 additions and 10 deletions

2
tmux.h
View File

@ -988,8 +988,6 @@ struct cmd_ctx {
struct client *curclient;
struct client *cmdclient;
struct session *cursession;
struct msg_command_data *msgdata;
void printflike2 (*print)(struct cmd_ctx *, const char *, ...);