Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/console/kconsole.c

    r84239b1 ra35b458  
    264264                        }
    265265
    266                         max_match_len_tmp = 0;
    267                         while ((output[max_match_len_tmp] ==
     266                        for (max_match_len_tmp = 0;
     267                            (output[max_match_len_tmp] ==
    268268                            hint[max_match_len_tmp]) &&
    269                             (max_match_len_tmp < max_match_len))
    270                                 ++max_match_len_tmp;
     269                            (max_match_len_tmp < max_match_len); ++max_match_len_tmp);
    271270
    272271                        max_match_len = max_match_len_tmp;
     
    374373                                beg = 0;
    375374                        } else {
    376                                 beg = position - 1;
    377                                 while ((beg > 0) && (!isspace(current[beg])))
    378                                     beg--;
     375                                for (beg = position - 1;
     376                                    (beg > 0) && (!isspace(current[beg]));
     377                                    beg--);
    379378
    380379                                if (isspace(current[beg]))
Note: See TracChangeset for help on using the changeset viewer.