Browse Source

midiseq.c: Remove unused variable

pull/5/head
Erik de Castro Lopo 9 years ago
parent
commit
d2ac85ffd1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      midiseq.c

+ 2
- 2
midiseq.c View File

@@ -85,7 +85,7 @@ static int process(jack_nframes_t nframes, void *arg)
int main(int narg, char **args) int main(int narg, char **args)
{ {
int i; int i;
jack_nframes_t nframes;
if((narg<6) || ((narg-3)%3 !=0)) if((narg<6) || ((narg-3)%3 !=0))
{ {
usage(); usage();
@@ -98,7 +98,7 @@ int main(int narg, char **args)
} }
jack_set_process_callback (client, process, 0); jack_set_process_callback (client, process, 0);
output_port = jack_port_register (client, "out", JACK_DEFAULT_MIDI_TYPE, JackPortIsOutput, 0); output_port = jack_port_register (client, "out", JACK_DEFAULT_MIDI_TYPE, JackPortIsOutput, 0);
nframes = jack_get_buffer_size(client);
loop_index = 0; loop_index = 0;
num_notes = (narg - 3)/3; num_notes = (narg - 3)/3;
note_frqs = malloc(num_notes*sizeof(unsigned char)); note_frqs = malloc(num_notes*sizeof(unsigned char));


Loading…
Cancel
Save