diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-30 00:36:55 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-30 00:36:55 +0000 |
commit | 6ee5bbddea3cf413ebfd76867c24446edad194b7 (patch) | |
tree | 4298919d75177202524f54da04342202aa68143d /MdeModulePkg/Universal/DevicePathDxe | |
parent | 952671b37eed07061deb910e337c81d65ff22e07 (diff) | |
download | edk2-platforms-6ee5bbddea3cf413ebfd76867c24446edad194b7.tar.xz |
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
Diffstat (limited to 'MdeModulePkg/Universal/DevicePathDxe')
-rw-r--r-- | MdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c b/MdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c index d76a720fef..db93c6daa1 100644 --- a/MdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c +++ b/MdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c @@ -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
//
|