optimize fluid_synth_remove_default_mod()

This commit is contained in:
jjceresa 2019-09-22 02:56:14 +02:00
parent c4c05533bb
commit b9421409aa

View file

@ -1438,7 +1438,7 @@ fluid_synth_remove_default_mod(fluid_synth_t *synth, const fluid_mod_t *mod)
{
if(synth->default_mod == default_mod)
{
synth->default_mod = synth->default_mod->next;
synth->default_mod = default_mod->next;
}
else
{