diff options
author | nicm <nicm> | 2015-08-30 15:43:40 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-08-30 15:43:40 +0000 |
commit | b87dc608d9b5b470926aaf77c5956befdfb7bc7b (patch) | |
tree | a724506b817ef6ac35a28770bcc6731234547113 /server-client.c | |
parent | 5047670693e3bc861eb4ae95708c96041b12a759 (diff) |
Some style nits and dead assignments.
Diffstat (limited to 'server-client.c')
-rw-r--r-- | server-client.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/server-client.c b/server-client.c index 8e298954..08058ab4 100644 --- a/server-client.c +++ b/server-client.c @@ -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"); |