mirror of
https://github.com/tmux/tmux.git
synced 2024-11-16 09:28:51 +00:00
Sync OpenBSD patchset 1140:
Remove a couple of unused variables from redbrain at gcc dot gnu dot org.
This commit is contained in:
parent
202c04414c
commit
f4053bc217
@ -344,7 +344,6 @@ server_client_handle_key(struct client *c, int key)
|
|||||||
struct session *s;
|
struct session *s;
|
||||||
struct window *w;
|
struct window *w;
|
||||||
struct window_pane *wp;
|
struct window_pane *wp;
|
||||||
struct options *oo;
|
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
struct key_binding *bd;
|
struct key_binding *bd;
|
||||||
int xtimeout, isprefix;
|
int xtimeout, isprefix;
|
||||||
@ -363,7 +362,6 @@ server_client_handle_key(struct client *c, int key)
|
|||||||
|
|
||||||
w = c->session->curw->window;
|
w = c->session->curw->window;
|
||||||
wp = w->active;
|
wp = w->active;
|
||||||
oo = &c->session->options;
|
|
||||||
|
|
||||||
/* Special case: number keys jump to pane in identify mode. */
|
/* Special case: number keys jump to pane in identify mode. */
|
||||||
if (c->flags & CLIENT_IDENTIFY && key >= '0' && key <= '9') {
|
if (c->flags & CLIENT_IDENTIFY && key >= '0' && key <= '9') {
|
||||||
|
2
tty.c
2
tty.c
@ -668,7 +668,6 @@ tty_write(
|
|||||||
struct window_pane *wp = ctx->wp;
|
struct window_pane *wp = ctx->wp;
|
||||||
struct client *c;
|
struct client *c;
|
||||||
struct session *s;
|
struct session *s;
|
||||||
struct options *oo;
|
|
||||||
u_int i;
|
u_int i;
|
||||||
|
|
||||||
/* wp can be NULL if updating the screen but not the terminal. */
|
/* wp can be NULL if updating the screen but not the terminal. */
|
||||||
@ -693,7 +692,6 @@ tty_write(
|
|||||||
continue;
|
continue;
|
||||||
if (c->tty.flags & TTY_FREEZE)
|
if (c->tty.flags & TTY_FREEZE)
|
||||||
continue;
|
continue;
|
||||||
oo = &s->options;
|
|
||||||
|
|
||||||
ctx->xoff = wp->xoff;
|
ctx->xoff = wp->xoff;
|
||||||
ctx->yoff = wp->yoff;
|
ctx->yoff = wp->yoff;
|
||||||
|
Loading…
Reference in New Issue
Block a user