mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Fix clang-tidy bugprone-branch-clone warnings
This commit is contained in:
parent
92854e95d3
commit
dbecfb5a2a
32 changed files with 132 additions and 247 deletions
|
@ -1937,7 +1937,7 @@ void Manager::ProcessStoreResponse(detail::StoreHandleVal* s, broker::store::res
|
|||
BrokerData tmp{std::move(*response.answer)};
|
||||
request->second->Result(detail::query_result(std::move(tmp).ToRecordVal()));
|
||||
}
|
||||
else if ( response.answer.error() == broker::ec::request_timeout ) {
|
||||
else if ( response.answer.error() == broker::ec::request_timeout ) { // NOLINT(bugprone-branch-clone)
|
||||
// Fine, trigger's timeout takes care of things.
|
||||
}
|
||||
else if ( response.answer.error() == broker::ec::stale_data ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue