xC: clean up
This commit is contained in:
parent
807a8c37d9
commit
a7c3ed7cc1
2
xC.c
2
xC.c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user