Ignore:
File:
1 edited

Legend:

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

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