OvmfPkg: add missing braces to aggregate and/or union initializers

Lack of these braces causes build errors when -Wno-missing-braces is
absent. Spelling out more braces also helps understanding the code.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15586 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Laszlo Ersek 2014-06-25 03:35:58 +00:00 committed by jljusten
parent ffccb935fa
commit 84043adfe2

View File

@ -89,6 +89,7 @@ EFI_FVB_MEDIA_INFO mPlatformFvbMediaInfo[] = {
0, 0,
}, // Reserved[1] }, // Reserved[1]
2, // Revision 2, // Revision
{
{ {
(FixedPcdGet32 (PcdFlashNvStorageVariableSize) + (FixedPcdGet32 (PcdFlashNvStorageVariableSize) +
FixedPcdGet32 (PcdFlashNvStorageFtwWorkingSize) + FixedPcdGet32 (PcdFlashNvStorageFtwWorkingSize) +
@ -96,11 +97,14 @@ EFI_FVB_MEDIA_INFO mPlatformFvbMediaInfo[] = {
FixedPcdGet32 (PcdOvmfFlashNvStorageEventLogSize)) / FixedPcdGet32 (PcdOvmfFirmwareBlockSize), FixedPcdGet32 (PcdOvmfFlashNvStorageEventLogSize)) / FixedPcdGet32 (PcdOvmfFirmwareBlockSize),
FixedPcdGet32 (PcdOvmfFirmwareBlockSize), FixedPcdGet32 (PcdOvmfFirmwareBlockSize),
} }
} // BlockMap[1]
}, },
{
{ {
0, 0,
0 0
} }
} // End[1]
} }
}; };