]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/DisplayEngineDxe: Remove unnecessary parentheses in 'if'
authorHao Wu <hao.a.wu@intel.com>
Tue, 5 Dec 2017 05:13:07 +0000 (13:13 +0800)
committerHao Wu <hao.a.wu@intel.com>
Wed, 6 Dec 2017 00:47:56 +0000 (08:47 +0800)
This commit removes unnecessary parentheses in 'if' statements to
resolve the build failures by the XCODE5 tool chain.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdeModulePkg/Universal/DisplayEngineDxe/Popup.c

index 7c76f6944704f7e33174af3c9cbc4b2e7c5c9c0b..0a832052ef2966f535d277d4d83bffab7aa3b8ca 100644 (file)
@@ -686,7 +686,7 @@ CreatePopup (
   }\r
 \r
   gMessageString = HiiGetString (HiiHandle, Message, NULL);\r
-  if((gMessageString == NULL)) {\r
+  if(gMessageString == NULL) {\r
     return EFI_INVALID_PARAMETER;\r
   }\r
 \r