Permalink
Browse files

renamed i to j, so that it doesn't shadow an outer one

  • Loading branch information...
1 parent b714b90 commit 2ba6a6f74acbc7f22134e0522fc8ab3a1d0d69c5 @petdance petdance committed Mar 19, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 compilers/imcc/cfg.c
View
6 compilers/imcc/cfg.c
@@ -447,11 +447,11 @@ build_cfg(ARGMOD(imc_info_t *imcc), ARGMOD(IMC_Unit *unit))
/* Decouple unreachable blocks (not the first block, with no predecessors)
* from the CFG */
do {
- unsigned int i;
+ unsigned int j;
changes = 0;
- for (i = 1; i < unit->n_basic_blocks; i++) {
- Basic_block * const bb = unit->bb_list[i];
+ for (j = 1; j < unit->n_basic_blocks; j++) {
+ Basic_block * const bb = unit->bb_list[j];
if (!bb->pred_list) {
/* Remove all successor edges of block bb */

0 comments on commit 2ba6a6f

Please sign in to comment.