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/ls/ls.c

    r5b61171 r948222e4  
    356356        argc = cli_count_args(argv);
    357357
    358         for (c = 0, optreset = 1, optind = 0, opt_ind = 0; c != -1;) {
     358        c = 0;
     359        optreset = 1;
     360        optind = 0;
     361        opt_ind = 0;
     362
     363        while (c != -1) {
    359364                c = getopt_long(argc, argv, "hur", long_options, &opt_ind);
    360365                switch (c) {
Note: See TracChangeset for help on using the changeset viewer.