mirror of
https://github.com/tmux/tmux.git
synced 2024-11-16 01:18:52 +00:00
Unused variable/type nit from Thomas Adam.
This commit is contained in:
parent
fdbfc7e349
commit
85531fd404
@ -87,13 +87,11 @@ cmd_select_layout_exec(struct cmd *self, struct cmd_ctx *ctx)
|
|||||||
{
|
{
|
||||||
struct args *args = self->args;
|
struct args *args = self->args;
|
||||||
struct winlink *wl;
|
struct winlink *wl;
|
||||||
struct window *w;
|
|
||||||
const char *layoutname;
|
const char *layoutname;
|
||||||
int next, previous, layout;
|
int next, previous, layout;
|
||||||
|
|
||||||
if ((wl = cmd_find_window(ctx, args_get(args, 't'), NULL)) == NULL)
|
if ((wl = cmd_find_window(ctx, args_get(args, 't'), NULL)) == NULL)
|
||||||
return (CMD_RETURN_ERROR);
|
return (CMD_RETURN_ERROR);
|
||||||
w = wl->window;
|
|
||||||
|
|
||||||
next = self->entry == &cmd_next_layout_entry;
|
next = self->entry == &cmd_next_layout_entry;
|
||||||
if (args_has(self->args, 'n'))
|
if (args_has(self->args, 'n'))
|
||||||
|
@ -331,7 +331,7 @@ int
|
|||||||
server_client_assume_paste(struct session *s)
|
server_client_assume_paste(struct session *s)
|
||||||
{
|
{
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
u_int t;
|
int t;
|
||||||
|
|
||||||
if ((t = options_get_number(&s->options, "assume-paste-time")) == 0)
|
if ((t = options_get_number(&s->options, "assume-paste-time")) == 0)
|
||||||
return (0);
|
return (0);
|
||||||
|
Loading…
Reference in New Issue
Block a user