xC: clean up

This commit is contained in:
Přemysl Eric Janouch 2022-09-30 18:29:32 +02:00
parent 807a8c37d9
commit a7c3ed7cc1
Signed by: p
GPG Key ID: A0420B94F92B9493

2
xC.c
View File

@ -589,7 +589,6 @@ input_rl_buffer_switch (void *input, input_buffer_t input_buffer)
static struct strv static struct strv
input_rl_buffer_history (void *input, input_buffer_t input_buffer) input_rl_buffer_history (void *input, input_buffer_t input_buffer)
{ {
struct input_rl *self = input;
struct input_rl_buffer *buffer = input_buffer; struct input_rl_buffer *buffer = input_buffer;
HIST_ENTRY **p = HIST_ENTRY **p =
buffer->history ? buffer->history->entries : history_list(); buffer->history ? buffer->history->entries : history_list();
@ -1077,7 +1076,6 @@ input_el_buffer_switch (void *input, input_buffer_t input_buffer)
static struct strv static struct strv
input_el_buffer_history (void *input, input_buffer_t input_buffer) input_el_buffer_history (void *input, input_buffer_t input_buffer)
{ {
struct input_el *self = input;
struct input_el_buffer *buffer = input_buffer; struct input_el_buffer *buffer = input_buffer;
struct strv v = strv_make (); struct strv v = strv_make ();
HistEventW ev; HistEventW ev;