1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-02 16:49:41 +02:00

Merge pull request #116 from ThomasFeher/fix_warnings_uninitialized

fix -Wmissing-field-initializer (3 occurences)
This commit is contained in:
Paul Licameli 2016-03-01 17:19:14 -05:00
commit 12adba0c1d

View File

@ -2335,7 +2335,7 @@ bool VSTEffect::LoadParameters(const wxString & group)
{
wxString value;
VstPatchChunkInfo info = {1, mAEffect->uniqueID, mAEffect->version, mAEffect->numParams};
VstPatchChunkInfo info = {1, mAEffect->uniqueID, mAEffect->version, mAEffect->numParams, ""};
mHost->GetPrivateConfig(group, wxT("UniqueID"), info.pluginUniqueID, info.pluginUniqueID);
mHost->GetPrivateConfig(group, wxT("Version"), info.pluginVersion, info.pluginVersion);
mHost->GetPrivateConfig(group, wxT("Elements"), info.numElements, info.numElements);
@ -3130,7 +3130,8 @@ bool VSTEffect::LoadFXB(const wxFileName & fn)
1,
wxINT32_SWAP_ON_LE(iptr[4]),
wxINT32_SWAP_ON_LE(iptr[5]),
wxINT32_SWAP_ON_LE(iptr[6])
wxINT32_SWAP_ON_LE(iptr[6]),
""
};
// Ensure this program looks to belong to the current plugin
@ -3324,7 +3325,8 @@ bool VSTEffect::LoadFXProgram(unsigned char **bptr, ssize_t & len, int index, bo
1,
wxINT32_SWAP_ON_LE(iptr[4]),
wxINT32_SWAP_ON_LE(iptr[5]),
wxINT32_SWAP_ON_LE(iptr[6])
wxINT32_SWAP_ON_LE(iptr[6]),
""
};
// Ensure this program looks to belong to the current plugin