Correct zero value for Guid variable
authorlgao4 <lgao4@7335b38e-4728-0410-8992-fb3ffe349368>
Wed, 30 Dec 2009 02:29:13 +0000 (02:29 +0000)
committerlgao4 <lgao4@7335b38e-4728-0410-8992-fb3ffe349368>
Wed, 30 Dec 2009 02:29:13 +0000 (02:29 +0000)
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1787 7335b38e-4728-0410-8992-fb3ffe349368

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