From d91374d0dbe40ad0d5966ffcb04c5758792f7cc5 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 17 Mar 2021 17:54:25 +0100 Subject: [PATCH] Remove self-assign --- libs/ardour/parameter_descriptor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/ardour/parameter_descriptor.cc b/libs/ardour/parameter_descriptor.cc index a0a28be5e2..5edeaa06a8 100644 --- a/libs/ardour/parameter_descriptor.cc +++ b/libs/ardour/parameter_descriptor.cc @@ -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;