From 856808065a88360ea2902cd22ff65fe63b24b938 Mon Sep 17 00:00:00 2001 From: Hao Wu Date: Mon, 4 Dec 2017 13:19:28 +0800 Subject: [PATCH] MdeModulePkg/PartitionDxe: Remove unnecessary parentheses in 'if' This commit removes unnecessary parentheses in 'if' statements to resolve the build failures by the XCODE5 tool chain. Cc: Ruiyu Ni Cc: Eric Dong Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Hao Wu Reviewed-by: Star Zeng Reviewed-by: Liming Gao --- MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c b/MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c index 603abfe55a..bb9d0b70ce 100644 --- a/MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c +++ b/MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c @@ -1212,7 +1212,7 @@ PartitionInstallChildHandle ( // CopyMem (&Private->PartitionInfo, PartitionInfo, sizeof (EFI_PARTITION_INFO_PROTOCOL)); - if ((PartitionInfo->System == 1)) { + if (PartitionInfo->System == 1) { Private->EspGuid = &gEfiPartTypeSystemPartGuid; } else { //