Permalink
Browse files

Fixes #9716. for \(int i... shadowed the int i we had declared earlie…

…r for that loop so we could check whether the for loop exited prematurely.
  • Loading branch information...
1 parent 04334ef commit db67f842c845d5e6ebf926ac9b3c30e7586763a3 @daniel-kristjansson daniel-kristjansson committed Jun 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmythtv/cc708decoder.cpp
@@ -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;

0 comments on commit db67f84

Please sign in to comment.