Some style nits and dead assignments.

This commit is contained in:
nicm
2015-08-30 15:43:40 +00:00
parent 5047670693
commit b87dc608d9
5 changed files with 5 additions and 12 deletions

View File

@ -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");