13
0

Remove self-assign

This commit is contained in:
Robin Gareus 2021-03-17 17:54:25 +01:00
parent 7ef4a08b5e
commit d91374d0db
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -340,13 +340,13 @@ ParameterDescriptor::to_interface (float val, bool rotary) const
break;
case PanAzimuthAutomation:
if (rotary) {
val = val;
; // val = val;
} else {
val = 1.0 - val;
}
break;
case PanElevationAutomation:
val = val;
; // val = val;
break;
case PanWidthAutomation:
val = .5f + val * .5f;