]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.65
authorfred <fred>
Sun, 24 Mar 2002 19:44:37 +0000 (19:44 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:44:37 +0000 (19:44 +0000)
mi2mu/midi-parser.y
mi2mu/midi-track.cc

index 7fab7a910d3454643e45ce0f341d44829819af39..d87dba3cf0efd10907307dcd77164860ddc4032e 100644 (file)
@@ -13,7 +13,6 @@
     char c;
     int i;
     String* str_p;
-    Request* request_p;
     Midi_event* midi_event_p;  // Voice_element* ?
     Midi_score* midi_score_p;  // Input_score* ?
     Midi_track* midi_track_p;  // Input_music* ?
index 03ac7fc13080d491cda9dafdf1669cf2e2654174..8d1c7833e41d0700a17f577e35baaad1a644e44c 100644 (file)
@@ -204,9 +204,9 @@ Midi_track::process()
                        tcol_l->midi_event_p_array_.del( 0 );
                }
 #else
-               for ( int i = 0; i < tcol_l->midi_event_p_array_.size(); i++ ) {
-                       get_free_midi_voice_l( tcol_l->mom() )->add_event( tcol_l->midi_event_p_array_[ i ] );
-                       tcol_l->midi_event_p_array_[ i ] = 0;
+               for ( int j = 0; j < tcol_l->midi_event_p_array_.size(); j++ ) {
+                       get_free_midi_voice_l( tcol_l->mom() )->add_event( tcol_l->midi_event_p_array_[ j ] );
+                       tcol_l->midi_event_p_array_[ j ] = 0;
                }
                tcol_l->midi_event_p_array_.clear();
 #endif