summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2020-06-07 15:15:33 -0400
committerTavian Barnes <tavianator@tavianator.com>2020-06-07 15:16:13 -0400
commitb85a344c3645d7748eeb4f3e49e15180d16c5882 (patch)
tree8620d9d6a24dd9c733789b45610e3141c5a389be /eval.c
parent1bce3b33acbfcfbfa03f1174d6e00c125cd8625d (diff)
downloadbfs-b85a344c3645d7748eeb4f3e49e15180d16c5882.tar.xz
Treat -nohidden like -exclude -hidden
Fixes #30.
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/eval.c b/eval.c
index 41e0377..ed1ab55 100644
--- a/eval.c
+++ b/eval.c
@@ -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) {