Fix valgrind error (use of uninitialized variable in debug print)

This commit is contained in:
David Henningsson 2010-07-28 20:21:17 +00:00
parent 3ec7ec22c7
commit c6f5a94002

View file

@ -1120,6 +1120,8 @@ fluid_player_t* new_fluid_player(fluid_synth_t* synth)
player->send_program_change = 1; player->send_program_change = 1;
player->miditempo = 480000; player->miditempo = 480000;
player->deltatime = 4.0; player->deltatime = 4.0;
player->cur_msec = 0;
player->cur_ticks = 0;
player->use_system_timer = player->use_system_timer =
fluid_settings_str_equal(synth->settings, "player.timing-source", "system"); fluid_settings_str_equal(synth->settings, "player.timing-source", "system");