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
This commit is contained in:
ydong10 2012-09-24 06:58:21 +00:00
parent 771729c77f
commit 76d6b68de8

View File

@ -1455,7 +1455,7 @@ GetLineByWidth (
// Skip the space info at the begin of next line. // Skip the space info at the begin of next line.
// //
*Index = (UINT16) (*Index + StrOffset + 1); *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. // Skip the /n or /n/r info.
// //
@ -1464,7 +1464,7 @@ GetLineByWidth (
} else { } else {
*Index = (UINT16) (*Index + StrOffset + 1); *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. // Skip the /r or /r/n info.
// //