Skip to content

Commit

Permalink
Initialize uninitalized variables
Browse files Browse the repository at this point in the history
  • Loading branch information
x42 committed Dec 4, 2024
1 parent 0225087 commit db16792
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/ardour/io_plug.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion libs/ardour/region_fx_plugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit db16792

Please sign in to comment.