Remove self-assign

This commit is contained in:
Robin Gareus 2021-03-17 17:54:25 +01:00
parent 7ef4a08b5e
commit d91374d0db
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

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