diff --git a/src/func_getattr_newest.cpp b/src/func_getattr_newest.cpp index 8ff6e5f9..17f9bc95 100644 --- a/src/func_getattr_newest.cpp +++ b/src/func_getattr_newest.cpp @@ -16,6 +16,7 @@ Func2::GetattrNewest::process(const Branches &branches_, fs::Path fullpath; branches = branches_; + newest_branch = std::nullptr; for(const auto &branch : *branches) {