diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2016-02-23 11:11:47 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2016-02-23 11:11:47 -0500 |
commit | 1c755492eab68257420c6824a36892cdeacb970a (patch) | |
tree | ac2d752314e6a40b91514be42ced2c4bb539a01e /eval.c | |
parent | 2e026d9acbad5ce4b689bc95079cec7192cbf367 (diff) | |
download | bfs-1c755492eab68257420c6824a36892cdeacb970a.tar.xz |
Implement -O.
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -651,6 +651,10 @@ int eval_cmdline(const struct cmdline *cmdline) { return 0; } + if (cmdline->optlevel >= 3 && cmdline->expr->eval == eval_false) { + return 0; + } + int nopenfd = infer_fdlimit(); struct callback_args args = { |