summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-03-10 05:47:27 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-03-10 05:47:27 +0000
commita05f22fa369937e013a5ce9bd5102ff8b93cf4d7 (patch)
tree10680d33b4268beae0397453cc971b4549947d9a /MdePkg
parent25ca163d0cff76660887a4e973c4aec8c0b6f594 (diff)
downloadedk2-platforms-a05f22fa369937e013a5ce9bd5102ff8b93cf4d7.tar.xz
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
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Library/IfrSupportLib/R8Lib.c3
1 files changed, 2 insertions, 1 deletions
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.
//