Ignore:
Timestamp:
2018-03-14T12:04:14Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
963037b0
Parents:
5b61171
git-author:
Jiri Svoboda <jiri@…> (2018-03-13 17:02:57)
git-committer:
Jiri Svoboda <jiri@…> (2018-03-14 12:04:14)
Message:

A few more cases of for loops without iteration expression (which isn't really a for loop).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/mkfile/mkfile.c

    r5b61171 r948222e4  
    133133        argc = cli_count_args(argv);
    134134
    135         for (c = 0, optreset = 1, optind = 0, opt_ind = 0; c != -1;) {
     135        c = 0;
     136        optreset = 1;
     137        optind = 0;
     138        opt_ind = 0;
     139
     140        while (c != -1) {
    136141                c = getopt_long(argc, argv, "ps:h", long_options, &opt_ind);
    137142                switch (c) {
Note: See TracChangeset for help on using the changeset viewer.