Skip to content

Commit

Permalink
[CORE] [CLANG] Fix warnings reported by llvm16 in CLANG IBs
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed May 4, 2023
1 parent 85b455d commit 769c311
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions FWCore/Integration/plugins/ViewAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -379,14 +379,12 @@ namespace edmtest {
sequence_t::const_iterator e_product = hproduct->end();
view_t::const_iterator i_view = hview->begin();
view_t::const_iterator e_view = hview->end();
size_t slot = 0;
while (i_product != e_product && i_view != e_view) {
value_t const& product_item = **i_product;
value_t const& view_item = *i_view;
assert(product_item == view_item);
++i_product;
++i_view;
++slot;
}
}

Expand Down Expand Up @@ -421,14 +419,12 @@ namespace edmtest {
sequence_t::const_iterator e_product = hproduct->end();
view_t::const_iterator i_view = hview->begin();
view_t::const_iterator e_view = hview->end();
size_t slot = 0;
while (i_product != e_product && i_view != e_view) {
value_t const& product_item = **i_product;
value_t const& view_item = *i_view;
assert(product_item == view_item);
++i_product;
++i_view;
++slot;
}
}
} // namespace edmtest
Expand Down

0 comments on commit 769c311

Please sign in to comment.