mirror of
https://github.com/tmux/tmux.git
synced 2025-01-14 20:58:53 +00:00
Unused variables. Found by lint, no binary change.
This commit is contained in:
parent
74d0851ac5
commit
83078bdcbc
@ -67,7 +67,6 @@ screen_redraw_screen(struct client *c)
|
|||||||
struct window *w = c->session->curw->window;
|
struct window *w = c->session->curw->window;
|
||||||
struct tty *tty = &c->tty;
|
struct tty *tty = &c->tty;
|
||||||
struct window_pane *wp;
|
struct window_pane *wp;
|
||||||
struct screen *s;
|
|
||||||
u_int i, j, sx, sy;
|
u_int i, j, sx, sy;
|
||||||
int status, has_acs;
|
int status, has_acs;
|
||||||
u_char choriz, cvert, cbackg;
|
u_char choriz, cvert, cbackg;
|
||||||
@ -110,7 +109,6 @@ screen_redraw_screen(struct client *c)
|
|||||||
|
|
||||||
tty_reset(tty);
|
tty_reset(tty);
|
||||||
|
|
||||||
s = wp->screen;
|
|
||||||
sx = wp->sx;
|
sx = wp->sx;
|
||||||
sy = wp->sy;
|
sy = wp->sy;
|
||||||
|
|
||||||
|
4
tty.c
4
tty.c
@ -759,9 +759,7 @@ tty_cmd_clearendofscreen(
|
|||||||
struct tty *tty, struct window_pane *wp, unused va_list ap)
|
struct tty *tty, struct window_pane *wp, unused va_list ap)
|
||||||
{
|
{
|
||||||
struct screen *s = wp->screen;
|
struct screen *s = wp->screen;
|
||||||
u_int i, j, oy;
|
u_int i, j;
|
||||||
|
|
||||||
oy = wp->yoff;
|
|
||||||
|
|
||||||
tty_reset(tty);
|
tty_reset(tty);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user