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:
jljusten 2007-10-30 00:36:55 +00:00
parent 952671b37e
commit 6ee5bbddea
1 changed files with 4 additions and 0 deletions

View File

@ -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
//