Initialize uninitalized variables

This commit is contained in:
Robin Gareus
2024-12-04 14:28:08 +01:00
parent 0225087342
commit db16792580
2 changed files with 2 additions and 2 deletions

View File

@@ -145,7 +145,7 @@ IOPlug::set_state (const XMLNode& node, int version)
return -1;
}
bool any_vst;
bool any_vst = false;
_plugin = find_and_load_plugin (_session, node, type, unique_id, any_vst);
if (!_plugin) {

View File

@@ -294,7 +294,7 @@ RegionFxPlugin::set_state (const XMLNode& node, int version)
return -1;
}
bool any_vst;
bool any_vst = false;
uint32_t count = 1;
node.get_property ("count", count);