Skip to content

Commit

Permalink
Fix error discovered by cppcheck, iterator checked against wrong cont…
Browse files Browse the repository at this point in the history
…ainer.
  • Loading branch information
daniel-kristjansson committed Aug 22, 2011
1 parent 6b7f12e commit 284d962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/programs/mythcommflag/CommDetector2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ bool CommDetector2::go(void)
frm_dir_map_t::const_iterator ii, jj;
ii = breakMap.begin();
jj = lastBreakMap.begin();
while (ii != breakMap.end() && jj != breakMap.end())
while (ii != breakMap.end() && jj != lastBreakMap.end())
{
if (ii.key() != jj.key())
break;
Expand Down

0 comments on commit 284d962

Please sign in to comment.