Changeset 850fd32 in mainline for uspace/app/usbinfo/main.c


Ignore:
Timestamp:
2018-03-11T01:21:19Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
84239b1, f0e825d
Parents:
338d54a7
Message:

Fix mischievious semicolons.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/usbinfo/main.c

    r338d54a7 r850fd32  
    153153         */
    154154        int opt;
     155        int idx;
    155156        do {
    156157                opt = getopt_long(argc, argv,
     
    168169                                print_usage(argv[0]);
    169170                                return 0;
    170                         default: {
    171                                 int idx = 0;
     171                        default:
     172                                idx = 0;
    172173                                while (actions[idx].opt != 0) {
    173174                                        if (actions[idx].opt == opt) {
     
    179180                                }
    180181                                break;
    181                         }
    182182                }
    183183        } while (opt > 0);
Note: See TracChangeset for help on using the changeset viewer.