mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Make some functions which return unused values void (mostly found by lint) and
tweak a redundant expression in window_pane_set_mode.
This commit is contained in:
6
input.c
6
input.c
@ -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
|
||||
|
Reference in New Issue
Block a user