Skip to content

Commit

Permalink
fixup: kill mutants (removed condition that was always true)
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneo committed Nov 20, 2023
1 parent 4e30034 commit f8002ec
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/cpp/interop/xds_stats_watcher.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,8 @@ bool HasNonEmptyMetadata(
metadata_by_peer) {
for (const auto& entry : metadata_by_peer) {
for (const auto& rpc_metadata : entry.second.rpc_metadata()) {
for (const auto& metadata : rpc_metadata.metadata()) {
if (!metadata.key().empty() || !metadata.value().empty()) {
return true;
}
if (rpc_metadata.metadata_size() > 0) {
return true;
}
}
}
Expand Down

0 comments on commit f8002ec

Please sign in to comment.