diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-07-21 19:54:23 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-07-21 19:54:23 +0000 |
commit | 7f76421b8239c2c902eb0eea9581089bece9b6f4 (patch) | |
tree | 5c3176887d4acccdfbe29d974afb8bd3e64f0c09 /usr.bin/tmux/input.c | |
parent | bab08a9491c3c302023a6681f6a0a0bca180f68d (diff) |
Make some functions which return unused values void (mostly found by lint) and
tweak a redundant expression in window_pane_set_mode.
Diffstat (limited to 'usr.bin/tmux/input.c')
-rw-r--r-- | usr.bin/tmux/input.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c index 71f9721fc57..38dc7ea4ab6 100644 --- a/usr.bin/tmux/input.c +++ b/usr.bin/tmux/input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: input.c,v 1.9 2009/07/13 10:43:52 nicm Exp $ */ +/* $OpenBSD: input.c,v 1.10 2009/07/21 19:54:22 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -35,7 +35,7 @@ #define INPUT_SPECIAL(ch) (ch == 0xff) int input_get_argument(struct input_ctx *, u_int, uint16_t *, uint16_t); -int input_new_argument(struct input_ctx *); +void input_new_argument(struct input_ctx *); int input_add_argument(struct input_ctx *, u_char); void input_start_string(struct input_ctx *, int); @@ -123,7 +123,7 @@ input_sequence_cmp(const void *a, const void *b) return (ai - bi); } -int +void input_new_argument(struct input_ctx *ictx) { struct input_arg *arg; @@ -132,8 +132,6 @@ input_new_argument(struct input_ctx *ictx) arg = &ARRAY_LAST(&ictx->args); arg->used = 0; - - return (0); } int |