Fix duplicate ‘const’ declaration specifier
authorJelle van der Waa <jelle@vdwaa.nl>
Wed, 12 Jul 2017 10:09:59 +0000 (12:09 +0200)
committerJelle van der Waa <jelle@vdwaa.nl>
Wed, 12 Jul 2017 10:09:59 +0000 (12:09 +0200)
libs/plugins/a-comp.lv2/a-comp.c

index 43d6b31b90efc79776820a5a2114c68eb55a4720..b7a2e5e31598da344e40c38ea7b2e01bd6dd098d 100644 (file)
@@ -286,7 +286,7 @@ run_mono(LV2_Handle instance, uint32_t n_samples)
        float makeup_target = from_dB(*acomp->makeup);
        float makeup_gain = acomp->makeup_gain;
 
-       const const float tau = acomp->tau;
+       const float tau = acomp->tau;
 
        if (*acomp->enable <= 0) {
                ratio = 1.f;
@@ -418,7 +418,7 @@ run_stereo(LV2_Handle instance, uint32_t n_samples)
        float makeup_target = from_dB(*acomp->makeup);
        float makeup_gain = acomp->makeup_gain;
 
-       const const float tau = acomp->tau;
+       const float tau = acomp->tau;
 
        if (*acomp->enable <= 0) {
                ratio = 1.f;