summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-03-26 02:15:15 +0100
committerRobin Gareus <robin@gareus.org>2020-03-26 02:17:22 +0100
commit8fe3c367cfc801cc6adb9ac681c3d36543eef3bb (patch)
tree67b767bf12b874624dfc46e878076ffa3d3aab35
parent6291433e27919f6421ffd31e05e9294efcf3c784 (diff)
Fix compiler warning
-rw-r--r--libs/ardour/luaproc.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/luaproc.cc b/libs/ardour/luaproc.cc
index bbde673299..73208a1eb8 100644
--- a/libs/ardour/luaproc.cc
+++ b/libs/ardour/luaproc.cc
@@ -1141,6 +1141,7 @@ LuaProc::load_preset (PresetRecord r)
if (!(*j)->get_property (X_("index"), index) ||
!(*j)->get_property (X_("value"), value)) {
assert (false);
+ continue;
}
set_parameter (index, value);
PresetPortSetValue (index, value); /* EMIT SIGNAL */