diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-10-02 17:39:13 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-10-07 13:37:39 +0200 |
commit | 72fb5958427ef63181023e8fedce5c6ba642b01a (patch) | |
tree | bb32e9d575c76ed35bef94807671e61780416043 /src/buildtool/execution_api/common | |
parent | 6e74b1448bf8d94d73ef3134aa9e8bf36e51a2aa (diff) | |
download | justbuild-72fb5958427ef63181023e8fedce5c6ba642b01a.tar.gz |
Enable bugprone-empty-catch check.
Diffstat (limited to 'src/buildtool/execution_api/common')
-rw-r--r-- | src/buildtool/execution_api/common/tree_reader.hpp | 4 |
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: |