diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2017-05-25 13:52:13 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2017-05-25 13:52:13 +0200 |
commit | aa4b4391f3f04dd2864fd068a603673cc44135a8 (patch) | |
tree | 77d1d1ceb32bfd8896f295ea8167458ccd39b959 | |
parent | 6cce0e5595b87a35ac01320fced5bd699b55a20f (diff) | |
download | ell-aa4b4391f3f04dd2864fd068a603673cc44135a8.tar.gz ell-aa4b4391f3f04dd2864fd068a603673cc44135a8.tar.xz ell-aa4b4391f3f04dd2864fd068a603673cc44135a8.zip |
Cleanup
-rw-r--r-- | ell.c | 4 | ||||
-rw-r--r-- | repl.c | 3 |
2 files changed, 5 insertions, 2 deletions
@@ -792,9 +792,9 @@ execute_item (struct context *ctx, struct item *body, struct item **result) { if (!evaluated) return true; - bool success = execute_resolved (ctx, evaluated, args, result); + bool ok = execute_resolved (ctx, evaluated, args, result); item_free_list (evaluated); - return success; + return ok; } static bool @@ -53,6 +53,9 @@ struct context ctx; static char ** complete (const char *text, int start, int end) { + (void) start; + (void) end; + // Don't iterate over filenames and stuff rl_attempted_completion_over = true; |