From aa4b4391f3f04dd2864fd068a603673cc44135a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Thu, 25 May 2017 13:52:13 +0200 Subject: Cleanup --- ell.c | 4 ++-- repl.c | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ell.c b/ell.c index 9cb77aa..9eefbc9 100644 --- a/ell.c +++ b/ell.c @@ -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 diff --git a/repl.c b/repl.c index 95a09a5..f14e24f 100644 --- a/repl.c +++ b/repl.c @@ -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; -- cgit v1.2.3