commit 8e7dcb435892f046fae9bc59c1ef2fbdb256887e
parent a82e260a1b88b031781b05e4554cd16fc37d342c
Author: falkTX <falktx@gmail.com>
Date: Wed, 24 Feb 2016 13:54:10 +0100
Fix unused variable
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/distrho/src/DistrhoPluginVST.cpp b/distrho/src/DistrhoPluginVST.cpp
@@ -340,7 +340,9 @@ public:
intptr_t vst_dispatcher(const int32_t opcode, const int32_t index, const intptr_t value, void* const ptr, const float opt)
{
+#if DISTRHO_PLUGIN_WANT_STATE
intptr_t ret = 0;
+#endif
switch (opcode)
{