aboutsummaryrefslogtreecommitdiff
path: root/repl.c
diff options
context:
space:
mode:
Diffstat (limited to 'repl.c')
-rw-r--r--repl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/repl.c b/repl.c
index c9d518d3..fca220c7 100644
--- a/repl.c
+++ b/repl.c
@@ -330,6 +330,7 @@ void run(env_t *env, ast_t *ast)
}
}
+#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstack-protector"
void eval(env_t *env, ast_t *ast, void *dest)
{
@@ -550,5 +551,6 @@ void eval(env_t *env, ast_t *ast, void *dest)
errx(1, "Eval not implemented for %W", ast);
}
}
+#pragma GCC diagnostic pop
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0