summaryrefslogtreecommitdiffstats
path: root/bftw.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2019-06-27 19:12:39 -0400
committerTavian Barnes <tavianator@tavianator.com>2019-06-27 19:12:39 -0400
commitdad3d53671cf5f4225d8bd9e76786f651371e854 (patch)
treeddeed3e5730ec0c140f8e5487ad48b1179317c1e /bftw.c
parent7922e45566ab0cdc18ccc75a8dc1881416a3077c (diff)
downloadbfs-dad3d53671cf5f4225d8bd9e76786f651371e854.tar.xz
bftw: Remove a dead assignment
Diffstat (limited to 'bftw.c')
-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;