mirror of https://github.com/acidanthera/audk.git
ShellPkg/Dh: Refine variable naming style
Avoid using only lower-case characters for variable name. Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Jaben Carsey <jaben.carsey@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
This commit is contained in:
parent
770f3f6144
commit
b6e0f0c6d1
|
@ -286,7 +286,7 @@ GetProtocolInfoString(
|
|||
UINTN Size;
|
||||
CHAR16 *Temp;
|
||||
CHAR16 GuidStr[40];
|
||||
VOID *instance;
|
||||
VOID *Instance;
|
||||
CHAR16 InstanceStr[17];
|
||||
|
||||
ProtocolGuidArray = NULL;
|
||||
|
@ -316,10 +316,10 @@ GetProtocolInfoString(
|
|||
StrnCatGrow(&RetVal, &Size, L"%N", 0);
|
||||
|
||||
if(Verbose) {
|
||||
Status = gBS->HandleProtocol (TheHandle, ProtocolGuidArray[ProtocolIndex], &instance);
|
||||
Status = gBS->HandleProtocol (TheHandle, ProtocolGuidArray[ProtocolIndex], &Instance);
|
||||
if (!EFI_ERROR (Status)) {
|
||||
StrnCatGrow (&RetVal, &Size, L"(%H", 0);
|
||||
UnicodeSPrint (InstanceStr, sizeof (InstanceStr), L"%x", instance);
|
||||
UnicodeSPrint (InstanceStr, sizeof (InstanceStr), L"%x", Instance);
|
||||
StrnCatGrow (&RetVal, &Size, InstanceStr, 0);
|
||||
StrnCatGrow (&RetVal, &Size, L"%N)", 0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue