Skip to content

Commit

Permalink
Fixed inner loop using same variable as outer loop.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Durbin committed May 22, 2012
1 parent 9844a99 commit b1fe5c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/dre2_parse.c
Expand Up @@ -1558,11 +1558,11 @@ void dre2_impossible_chars( struct dre2 *graph )
} else if ( c >= DRE2_8BIT && c <= DRE2_ALPHA )
{
index = c * -1 - 5;
i = 0;
while ( dre2_predefined_classes[index][i] != -1 )
j = 0;
while ( dre2_predefined_classes[index][j] != -1 )
{
graph->impossible[dre2_predefined_classes[index][i]] = false;
i++;
graph->impossible[dre2_predefined_classes[index][j]] = false;
j++;
}
} else if ( c == DRE2_DOT )
{
Expand Down

0 comments on commit b1fe5c9

Please sign in to comment.