Changeset c8b52ab for examples


Ignore:
Timestamp:
Oct 5, 2018, 9:04:12 PM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master
Children:
93d2418, 96c97d0
Parents:
faf2702
Message:

examples/parse_args.h: avoid unreachable code, add comment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/parse_args.h

    rfaf2702 rc8b52ab  
    201201  };
    202202#endif /* HAVE_GETOPT_H */
    203   prog_name = argv[0];
     203  // better safe than sorry
    204204  if (argc < 1) {
    205205    usage (stderr, 1);
    206     return -1;
    207   }
     206  }
     207  prog_name = argv[0];
    208208#ifdef HAVE_GETOPT_H
    209209  do {
Note: See TracChangeset for help on using the changeset viewer.