From 76d6b68de87275e40e2d646a54b3f21334d63133 Mon Sep 17 00:00:00 2001 From: ydong10 Date: Mon, 24 Sep 2012 06:58:21 +0000 Subject: [PATCH] Clean the build warning. Signed-off-by: Eric Dong git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13738 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/SetupBrowserDxe/Ui.c | 4 ++-- 1 file 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. // -- 2.39.5