From 7d9f980fc25de4f6005aeb8e5baacbd235bcad9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=20H=C3=A4mmerling?= Date: Mon, 24 Jul 2017 22:36:48 +0200 Subject: [PATCH] Fix "misleading-indentation" warning --- fluidsynth/src/synth/fluid_voice.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fluidsynth/src/synth/fluid_voice.c b/fluidsynth/src/synth/fluid_voice.c index e6efbac8..c13e708a 100644 --- a/fluidsynth/src/synth/fluid_voice.c +++ b/fluidsynth/src/synth/fluid_voice.c @@ -1617,10 +1617,11 @@ fluid_voice_get_overflow_prio(fluid_voice_t* voice, if (voice->has_noteoff) { // FIXME: Should take into account where on the envelope we are...? } - if (a < 0.1) + if (a < 0.1) { a = 0.1; // Avoid div by zero - this_voice_prio += score->volume / a; } + this_voice_prio += score->volume / a; + } return this_voice_prio; }