Remove the assignment of "size_t off".  This isn't used in
status_prompt_redraw().
---
 status.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/status.c b/status.c
index 60faa42d..9886eebb 100644
--- a/status.c
+++ b/status.c
@@ -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");
-- 
2.11.0

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to