From 98b1f41197261d354c1a6e2ca425849f4e261b88 Mon Sep 17 00:00:00 2001 From: Johannes Lorenz Date: Tue, 22 Dec 2020 12:36:18 +0100 Subject: [PATCH] Fix compiler warnings (unused parameters) --- distrho/src/DistrhoPluginVST.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/distrho/src/DistrhoPluginVST.cpp b/distrho/src/DistrhoPluginVST.cpp index bc57b7ec..9d3e5670 100644 --- a/distrho/src/DistrhoPluginVST.cpp +++ b/distrho/src/DistrhoPluginVST.cpp @@ -225,7 +225,11 @@ public: int handlePluginKeyEvent(const bool down, int32_t index, const intptr_t value) { -# if !DISTRHO_PLUGIN_HAS_EXTERNAL_UI +# if DISTRHO_PLUGIN_HAS_EXTERNAL_UI + (void)down; + (void)index; + (void)value; +# else if (! fShouldCaptureVstKeys) return 0;