]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c
Fix build issues with Xcode in CryptoPkg and SecurityPkg.
[mirror_edk2.git] / SecurityPkg / Library / DxeDeferImageLoadLib / DxeDeferImageLoadLib.c
index 3cbd0983650a64ae60d7b0e795eb21e212d3994c..172905169468896047d8b1baa3f57a9e3554f714 100644 (file)
@@ -246,7 +246,7 @@ GetAccessControl (
     CheckLen  = 0;\r
     while (CheckLen < Info->InfoSize - sizeof (EFI_USER_INFO)) {\r
       Access = (EFI_USER_INFO_ACCESS_CONTROL *) ((UINT8 *) (Info + 1) + CheckLen);\r
-      if ((Access->Type == AccessType)) {\r
+      if (Access->Type == AccessType) {\r
         *AccessControl = AllocateZeroPool (Access->Size);\r
         ASSERT (*AccessControl != NULL);\r
         CopyMem (*AccessControl, Access, Access->Size);\r