summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2012-09-24 06:58:21 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2012-09-24 06:58:21 +0000
commit76d6b68de87275e40e2d646a54b3f21334d63133 (patch)
treebdde0352c805cce5600a830a2aef4cd6bfa0fbf1 /MdeModulePkg
parent771729c77fa49cf0ff17491f371003c4f5d66f85 (diff)
downloadedk2-platforms-76d6b68de87275e40e2d646a54b3f21334d63133.tar.xz
Clean the build warning.
Signed-off-by: Eric Dong <eric.dong@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13738 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c
index 1b39ed7f2a..d0d45277a1 100644
--- a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c
+++ b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c
@@ -1455,7 +1455,7 @@ GetLineByWidth (
// Skip the space info at the begin of next line.
//
*Index = (UINT16) (*Index + StrOffset + 1);
- } else if ((InputString[*Index + StrOffset] == CHAR_LINEFEED)) {
+ } else if (InputString[*Index + StrOffset] == CHAR_LINEFEED) {
//
// Skip the /n or /n/r info.
//
@@ -1464,7 +1464,7 @@ GetLineByWidth (
} else {
*Index = (UINT16) (*Index + StrOffset + 1);
}
- } else if ((InputString[*Index + StrOffset] == CHAR_CARRIAGE_RETURN)) {
+ } else if (InputString[*Index + StrOffset] == CHAR_CARRIAGE_RETURN) {
//
// Skip the /r or /r/n info.
//