Ignore:
File:
1 edited

Legend:

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

    ra35b458 r948222e4  
    123123        argc = cli_count_args(argv);
    124124
    125         for (c = 0, optreset = 1, optind = 0, opt_ind = 0; c != -1;) {
     125        c = 0;
     126        optreset = 1;
     127        optind = 0;
     128        opt_ind = 0;
     129
     130        while (c != -1) {
    126131                c = getopt_long(argc, argv, "hv", long_options, &opt_ind);
    127132                switch (c) {
Note: See TracChangeset for help on using the changeset viewer.