diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-12-18 12:39:35 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-12-18 12:39:35 +0000 |
commit | e394e1d22d3974abc855fd028ac9a792afe73997 (patch) | |
tree | aa8e13b33bf91a51edcd2a857b4aa9828393f30b /usr.bin/tmux/status.c | |
parent | ad5c46e07a2a909bd57428057f0606290fb179a8 (diff) |
Remove unused variable from Thomas Adam.
Diffstat (limited to 'usr.bin/tmux/status.c')
-rw-r--r-- | usr.bin/tmux/status.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/tmux/status.c b/usr.bin/tmux/status.c index a49087e5486..2d0d652e2f8 100644 --- a/usr.bin/tmux/status.c +++ b/usr.bin/tmux/status.c @@ -1,4 +1,4 @@ -/* $OpenBSD: status.c,v 1.171 2017/11/02 21:29:17 nicm Exp $ */ +/* $OpenBSD: status.c,v 1.172 2017/12/18 12:39:34 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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"); |