mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 22:43:58 +00:00
Some style nits and dead assignments.
This commit is contained in:
@ -551,13 +551,6 @@ server_client_handle_key(struct client *c, int key)
|
||||
w = s->curw->window;
|
||||
wp = w->active;
|
||||
|
||||
/* No session, do nothing. */
|
||||
if (c->session == NULL)
|
||||
return;
|
||||
s = c->session;
|
||||
w = c->session->curw->window;
|
||||
wp = w->active;
|
||||
|
||||
/* Update the activity timer. */
|
||||
if (gettimeofday(&c->activity_time, NULL) != 0)
|
||||
fatal("gettimeofday failed");
|
||||
|
Reference in New Issue
Block a user