diff options
author | David Phillips <dbphillipsnz@gmail.com> | 2015-07-06 22:17:53 +1200 |
---|---|---|
committer | David Phillips <dbphillipsnz@gmail.com> | 2015-07-06 22:17:53 +1200 |
commit | 29f24293fe1d69f6457b6f4749082f88e805da02 (patch) | |
tree | a3afd3aa26f24920d3deaa5da62879feb467a18a | |
parent | 73b2378478648136af016868e230a8b7cdb9a0bd (diff) | |
download | cue-bin-split-29f24293fe1d69f6457b6f4749082f88e805da02.tar.xz |
Fixed fixme and renamed the var anyway
-rw-r--r-- | cue-bin-split.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/cue-bin-split.c b/cue-bin-split.c index 81ed7da..24f99e0 100644 --- a/cue-bin-split.c +++ b/cue-bin-split.c @@ -62,6 +62,7 @@ int main(int argc, char **argv) int sample_size = 0; /* Misc */ + char opt = 0; char out_fname[] = "track-000000000000"; /* That should do it */ int index = 0; int items = 0; @@ -78,14 +79,10 @@ int main(int argc, char **argv) double finish_sec = 0; unsigned long start_sample = 0; unsigned long finish_sample = 0; - - - /* FIXME move me */ - char c; - while ( ( c = getopt(argc, argv, "r:c:i:s:f:") ) != -1 ) + while ( ( opt = getopt(argc, argv, "r:c:i:s:f:") ) != -1 ) { - switch (c) + switch (opt) { case 'r': rate = atoi(optarg); |