summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/DisplayEngineDxe/Popup.c
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2017-12-05 13:13:07 +0800
committerHao Wu <hao.a.wu@intel.com>2017-12-06 08:47:56 +0800
commit2f808acc87ccc7bbaade923886e968b719104d11 (patch)
tree668e8299b4bb14ba8ebddb2f17802a8e21f59da0 /MdeModulePkg/Universal/DisplayEngineDxe/Popup.c
parent856808065a88360ea2902cd22ff65fe63b24b938 (diff)
downloadedk2-2f808acc87ccc7bbaade923886e968b719104d11.zip
edk2-2f808acc87ccc7bbaade923886e968b719104d11.tar.gz
edk2-2f808acc87ccc7bbaade923886e968b719104d11.tar.bz2
MdeModulePkg/DisplayEngineDxe: Remove unnecessary parentheses in 'if'
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>
Diffstat (limited to 'MdeModulePkg/Universal/DisplayEngineDxe/Popup.c')
-rw-r--r--MdeModulePkg/Universal/DisplayEngineDxe/Popup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/DisplayEngineDxe/Popup.c b/MdeModulePkg/Universal/DisplayEngineDxe/Popup.c
index 7c76f69..0a83205 100644
--- a/MdeModulePkg/Universal/DisplayEngineDxe/Popup.c
+++ b/MdeModulePkg/Universal/DisplayEngineDxe/Popup.c
@@ -686,7 +686,7 @@ CreatePopup (
}
gMessageString = HiiGetString (HiiHandle, Message, NULL);
- if((gMessageString == NULL)) {
+ if(gMessageString == NULL) {
return EFI_INVALID_PARAMETER;
}