aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lvz/wrapper.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lvz/wrapper.cpp b/lvz/wrapper.cpp
index d1cd0cd..5848ccd 100644
--- a/lvz/wrapper.cpp
+++ b/lvz/wrapper.cpp
@@ -62,8 +62,6 @@ lvz_connect_port(LV2_Handle instance, uint32_t port, void* data)
if (port < num_params) {
plugin->control_buffers[port] = (float*)data;
- if (data != NULL)
- plugin->controls[port] = *(float*)data;
} else if (port < num_params + num_inputs) {
plugin->inputs[port - num_params] = (float*)data;
} else {