Cleanup
This commit is contained in:
parent
6cce0e5595
commit
aa4b4391f3
4
ell.c
4
ell.c
|
@ -792,9 +792,9 @@ execute_item (struct context *ctx, struct item *body, struct item **result) {
|
||||||
if (!evaluated)
|
if (!evaluated)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
bool success = execute_resolved (ctx, evaluated, args, result);
|
bool ok = execute_resolved (ctx, evaluated, args, result);
|
||||||
item_free_list (evaluated);
|
item_free_list (evaluated);
|
||||||
return success;
|
return ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool
|
static bool
|
||||||
|
|
3
repl.c
3
repl.c
|
@ -53,6 +53,9 @@ struct context ctx;
|
||||||
|
|
||||||
static char **
|
static char **
|
||||||
complete (const char *text, int start, int end) {
|
complete (const char *text, int start, int end) {
|
||||||
|
(void) start;
|
||||||
|
(void) end;
|
||||||
|
|
||||||
// Don't iterate over filenames and stuff
|
// Don't iterate over filenames and stuff
|
||||||
rl_attempted_completion_over = true;
|
rl_attempted_completion_over = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue