summaryrefslogtreecommitdiff
path: root/MdePkg/Library/IfrSupportLib/R8Lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/IfrSupportLib/R8Lib.c')
-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.
//