Correct zero value for Guid variable
[efi/basetools/.git] / Source / C / VfrCompile / VfrSyntax.g
index c1d5f36..e6f8aa3 100644 (file)
@@ -1269,7 +1269,7 @@ vfrStatementGoto :
   <<\r
      UINT8               RefType = 1;\r
      EFI_STRING_ID       DevPath = EFI_STRING_ID_INVALID;\r
-     EFI_GUID            FSId = {0, {0,}};\r
+     EFI_GUID            FSId = {0,};\r
      EFI_FORM_ID         FId;\r
      EFI_QUESTION_ID     QId    = EFI_QUESTION_ID_INVALID;\r
      UINT32              BitMask;\r
@@ -2938,7 +2938,7 @@ questionref13Exp[UINT32 & RootLevel, UINT32 & ExpOpCount] :
   <<\r
      UINT8           Type = 0x1;\r
      EFI_STRING_ID   DevPath = EFI_STRING_ID_INVALID;\r
-     EFI_GUID        Guid = {0, {0, }};\r
+     EFI_GUID        Guid = {0,};\r
      EFI_QUESTION_ID QId = EFI_QUESTION_ID_INVALID;\r
      UINT32          BitMask;\r
      CHAR8           *QName = NULL;\r