Skip to content

Commit

Permalink
Fixes #9716. for \(int i... shadowed the int i we had declared earlie…
Browse files Browse the repository at this point in the history
…r for that loop so we could check whether the for loop exited prematurely.
  • Loading branch information
daniel-kristjansson committed Jun 27, 2011
1 parent 04334ef commit db67f84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/cc708decoder.cpp
Expand Up @@ -158,7 +158,7 @@ static void parse_cc_service_stream(CC708Reader* cc, uint service_num)
cc->delayed, blk_start, blk_size);
*/

for (int i = (cc->delayed[service_num]) ? blk_size : blk_start;
for (i = (cc->delayed[service_num]) ? blk_size : blk_start;
i < blk_size; )
{
const int old_i = i;
Expand Down

0 comments on commit db67f84

Please sign in to comment.