13
0

VST3: state safeguard for optimized builds

This commit is contained in:
Robin Gareus 2021-08-13 15:33:58 +02:00
parent c95a66cb80
commit d8fe47d27d
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -526,8 +526,9 @@ VSTPlugin::load_user_preset (PresetRecord r)
if (!(*j)->get_property (X_("index"), index) ||
!(*j)->get_property (X_("value"), value)) {
// flag error and continue?
assert (false);
// flag error and continue?
continue;
}
set_parameter (index, value, 0);