diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2020-06-07 15:15:33 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2020-06-07 15:16:13 -0400 |
commit | b85a344c3645d7748eeb4f3e49e15180d16c5882 (patch) | |
tree | 8620d9d6a24dd9c733789b45610e3141c5a389be /eval.c | |
parent | 1bce3b33acbfcfbfa03f1174d6e00c125cd8625d (diff) | |
download | bfs-b85a344c3645d7748eeb4f3e49e15180d16c5882.tar.xz |
Treat -nohidden like -exclude -hidden
Fixes #30.
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -449,18 +449,6 @@ bool eval_hidden(const struct expr *expr, struct eval_state *state) { } /** - * -nohidden action. - */ -bool eval_nohidden(const struct expr *expr, struct eval_state *state) { - if (eval_hidden(expr, state)) { - eval_prune(expr, state); - return false; - } else { - return true; - } -} - -/** * -inum test. */ bool eval_inum(const struct expr *expr, struct eval_state *state) { |