From e2c491390ecd6f5fc08fcac87d51fbd03178ad3c Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 29 Jun 2023 10:57:58 +0200 Subject: [PATCH] Fix a compiler warning Signed-off-by: falkTX --- source/backend/plugin/CarlaPluginLV2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/backend/plugin/CarlaPluginLV2.cpp b/source/backend/plugin/CarlaPluginLV2.cpp index ecf5bb058..f9a2dfd96 100644 --- a/source/backend/plugin/CarlaPluginLV2.cpp +++ b/source/backend/plugin/CarlaPluginLV2.cpp @@ -2486,7 +2486,7 @@ public: for (uint32_t i=0; i < count; ++i) { - const uint32_t& type(evIns.getAt(i, 0x0)); + const uint32_t type = evIns.getAt(i, 0x0); if (type == CARLA_EVENT_DATA_ATOM) { @@ -2518,7 +2518,7 @@ public: for (uint32_t i=0; i < count; ++i) { - const uint32_t& type(evOuts.getAt(i, 0x0)); + const uint32_t type = evOuts.getAt(i, 0x0); if (type == CARLA_EVENT_DATA_ATOM) {