From a05f22fa369937e013a5ce9bd5102ff8b93cf4d7 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Mon, 10 Mar 2008 05:47:27 +0000 Subject: [PATCH] Short term fix to pass some GCC warning. (It should be able to remove R8Lib.c & R8Lib.h with APIs in BaseLib & PrintLib.) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4810 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/IfrSupportLib/R8Lib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MdePkg/Library/IfrSupportLib/R8Lib.c b/MdePkg/Library/IfrSupportLib/R8Lib.c index 634bdb682d..20b7012f37 100644 --- a/MdePkg/Library/IfrSupportLib/R8Lib.c +++ b/MdePkg/Library/IfrSupportLib/R8Lib.c @@ -128,7 +128,7 @@ R8_BufToHexString ( EFI_STATUS R8_HexStringToBuf ( IN OUT UINT8 *Buf, - IN OUT UINTN *Len, + IN OUT UINTN *Len, IN CHAR16 *Str, OUT UINTN *ConvertedStrLen OPTIONAL ) @@ -145,6 +145,7 @@ R8_HexStringToBuf ( UINT8 Digit; UINT8 Byte; + Digit = 0; // // Find out how many hex characters the string has. //