mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c:
Pre-initialize local variable 'Digit' in two functions to prevent a compiler warning. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4239 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
952671b37e
commit
6ee5bbddea
|
@ -355,6 +355,8 @@ HexStringToBuf (
|
|||
UINT8 Digit;
|
||||
UINT8 Byte;
|
||||
|
||||
Digit = 0;
|
||||
|
||||
//
|
||||
// Find out how many hex characters the string has.
|
||||
//
|
||||
|
@ -694,6 +696,8 @@ StrToBuf (
|
|||
UINT8 Digit;
|
||||
UINT8 Byte;
|
||||
|
||||
Digit = 0;
|
||||
|
||||
//
|
||||
// Two hex char make up one byte
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue