diff options
author | nicm <nicm> | 2017-12-18 12:39:34 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-12-18 12:39:34 +0000 |
commit | 58f6456af7a49db69cf84f538e03c4161a1188d6 (patch) | |
tree | 62e5979fcada661ca60e796b6eee837c743962a1 | |
parent | 695dc5a15348f9ad2af5edf5119ae054bc11940a (diff) | |
download | rtmux-58f6456af7a49db69cf84f538e03c4161a1188d6.tar.gz rtmux-58f6456af7a49db69cf84f538e03c4161a1188d6.tar.bz2 rtmux-58f6456af7a49db69cf84f538e03c4161a1188d6.zip |
Remove unused variable from Thomas Adam.
-rw-r--r-- | status.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -803,7 +803,7 @@ 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, off; + size_t len; struct grid_cell gc, cursorgc; if (c->tty.sx == 0 || c->tty.sy == 0) @@ -819,7 +819,6 @@ status_prompt_redraw(struct client *c) len = screen_write_strlen("%s", c->prompt_string); if (len > c->tty.sx) len = c->tty.sx; - off = 0; if (c->prompt_mode == PROMPT_COMMAND) style_apply(&gc, s->options, "message-command-style"); |