1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-16 16:20:50 +02:00

fix -Wmissing-field-initializer (3 occurences)

This commit is contained in:
Thomas Fehér 2016-02-29 21:38:52 +01:00
parent 0094c4f465
commit 7e0eb8683c

View File

@ -2334,7 +2334,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);
@ -3129,7 +3129,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
@ -3323,7 +3324,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