Ignore:
Timestamp:
2018-03-26T22:07:55Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e2172284
Parents:
af60409
Message:

Three more loop fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/builtins/batch/batch.c

    raf60409 reb748a0  
    7474
    7575        /* Count the arguments */
    76         for (argc = 0; argv[argc] != NULL; argc ++);
     76        argc = 0;
     77        while (argv[argc] != NULL)
     78                argc++;
    7779
    7880        if (argc < 2) {
Note: See TracChangeset for help on using the changeset viewer.