aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ell.c4
-rw-r--r--repl.c3
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;