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;