summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/execution_api/common')
-rw-r--r--src/buildtool/execution_api/common/tree_reader.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildtool/execution_api/common/tree_reader.hpp b/src/buildtool/execution_api/common/tree_reader.hpp
index 857573df..20e73d7d 100644
--- a/src/buildtool/execution_api/common/tree_reader.hpp
+++ b/src/buildtool/execution_api/common/tree_reader.hpp
@@ -102,10 +102,10 @@ class TreeReader final {
store, parent, digest, include_trees)) {
return result;
}
+ return std::nullopt;
} catch (...) {
- // fallthrough
+ return std::nullopt;
}
- return std::nullopt;
}
private: