mirror of https://github.com/acidanthera/audk.git
EmulatorPkg: Add structure braces { } to fix build warning
The GCC parameter -Wno-missing-braces was recently removed. This caused build warnings where structures were instantiated without proper brace usage. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15632 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
f58ba9ed6f
commit
0cecbe565a
|
@ -33,11 +33,13 @@ EMU_PLATFORM_UGA_DEVICE_PATH gGopDevicePath = {
|
|||
},
|
||||
{
|
||||
{
|
||||
HARDWARE_DEVICE_PATH,
|
||||
HW_VENDOR_DP,
|
||||
{
|
||||
(UINT8) (sizeof (EMU_VENDOR_DEVICE_PATH_NODE)),
|
||||
(UINT8) ((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8)
|
||||
HARDWARE_DEVICE_PATH,
|
||||
HW_VENDOR_DP,
|
||||
{
|
||||
(UINT8) (sizeof (EMU_VENDOR_DEVICE_PATH_NODE)),
|
||||
(UINT8) ((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8)
|
||||
},
|
||||
},
|
||||
EMU_GRAPHICS_WINDOW_PROTOCOL_GUID,
|
||||
},
|
||||
|
|
|
@ -169,7 +169,7 @@ SMBIOS_TABLE_TYPE3 gSmbiosType3Template = {
|
|||
0, // NumberofPowerCords;
|
||||
0, // ContainedElementCount;
|
||||
0, // ContainedElementRecordLength;
|
||||
{ 0 }, // ContainedElements[1];
|
||||
{ { 0 } }, // ContainedElements[1];
|
||||
};
|
||||
CHAR8 *gSmbiosType3Strings[] = {
|
||||
"edk2.sourceforge.net",
|
||||
|
|
Loading…
Reference in New Issue