diff options
author | nicm <nicm> | 2018-02-22 11:42:41 +0000 |
---|---|---|
committer | nicm <nicm> | 2018-02-22 11:42:41 +0000 |
commit | 3f3f13fbd79d6b847aa52d0cbba8c6a07b013b0e (patch) | |
tree | b076c95c90fb204e403ee76410121ea1b65cb339 | |
parent | e97daead43800aedb3c1f1d50c92099d94e5ce13 (diff) | |
download | rtmux-3f3f13fbd79d6b847aa52d0cbba8c6a07b013b0e.tar.gz rtmux-3f3f13fbd79d6b847aa52d0cbba8c6a07b013b0e.tar.bz2 rtmux-3f3f13fbd79d6b847aa52d0cbba8c6a07b013b0e.zip |
Remove an unused variable.
-rw-r--r-- | status.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -806,7 +806,6 @@ status_prompt_redraw(struct client *c) struct screen old_status; u_int i, offset, left, start, pcursor, pwidth, width; u_int lines; - size_t len; struct grid_cell gc, cursorgc; if (c->tty.sx == 0 || c->tty.sy == 0) @@ -820,10 +819,6 @@ status_prompt_redraw(struct client *c) } else screen_init(&c->status.status, c->tty.sx, lines, 0); - len = screen_write_strlen("%s", c->prompt_string); - if (len > c->tty.sx) - len = c->tty.sx; - if (c->prompt_mode == PROMPT_COMMAND) style_apply(&gc, s->options, "message-command-style"); else |