diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2013-01-30 17:00:17 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2013-01-30 17:00:17 +0000 |
commit | 85531fd404ed68ffe7d724f58ef1f84c357f3cc8 (patch) | |
tree | 76848ad420fd5133dc979b066a876d02472517a4 | |
parent | fdbfc7e3498e1cdd04e8df58aa1a937ee4d79caa (diff) | |
download | rtmux-85531fd404ed68ffe7d724f58ef1f84c357f3cc8.tar.gz rtmux-85531fd404ed68ffe7d724f58ef1f84c357f3cc8.tar.bz2 rtmux-85531fd404ed68ffe7d724f58ef1f84c357f3cc8.zip |
Unused variable/type nit from Thomas Adam.
-rw-r--r-- | cmd-select-layout.c | 2 | ||||
-rw-r--r-- | server-client.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/cmd-select-layout.c b/cmd-select-layout.c index 3ca8766e..c5f64a07 100644 --- a/cmd-select-layout.c +++ b/cmd-select-layout.c @@ -87,13 +87,11 @@ cmd_select_layout_exec(struct cmd *self, struct cmd_ctx *ctx) { struct args *args = self->args; struct winlink *wl; - struct window *w; const char *layoutname; int next, previous, layout; if ((wl = cmd_find_window(ctx, args_get(args, 't'), NULL)) == NULL) return (CMD_RETURN_ERROR); - w = wl->window; next = self->entry == &cmd_next_layout_entry; if (args_has(self->args, 'n')) diff --git a/server-client.c b/server-client.c index b24b68e8..82189a5c 100644 --- a/server-client.c +++ b/server-client.c @@ -331,7 +331,7 @@ int server_client_assume_paste(struct session *s) { struct timeval tv; - u_int t; + int t; if ((t = options_get_number(&s->options, "assume-paste-time")) == 0) return (0); |