summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bftw.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bftw.c b/bftw.c
index 762855c..510f7f3 100644
--- a/bftw.c
+++ b/bftw.c
@@ -1219,7 +1219,6 @@ static enum bftw_action bftw_release_reader(struct bftw_state *state, bool do_vi
if (do_visit) {
if (bftw_visit(state, NULL, BFTW_PRE) == BFTW_STOP) {
ret = BFTW_STOP;
- do_visit = false;
}
} else {
state->error = reader->error;