aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-06-14 17:40:01 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-06-14 17:40:01 +0300
commit5d424ea127333859a32addaf9e28eae07a4dc9f6 (patch)
tree75ca05388ab3270cfe0f6694b2a9d4358ae66929
parent99be6932124a643320acade2f1af9f74ca412b1e (diff)
Fix using uninitialized ignore_dangling_ member in dir_iterator
-rw-r--r--libbutl/filesystem.mxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbutl/filesystem.mxx b/libbutl/filesystem.mxx
index 3d32517..bb83284 100644
--- a/libbutl/filesystem.mxx
+++ b/libbutl/filesystem.mxx
@@ -674,7 +674,7 @@ LIBBUTL_MODEXPORT namespace butl
intptr_t h_ = -1;
#endif
- bool ignore_dangling_;
+ bool ignore_dangling_ = false;
};
// Range-based for loop support.