X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ShellPkg%2FLibrary%2FUefiShellAcpiViewCommandLib%2FAcpiParser.c;h=630c41b71d28cab70ac5e9344de4e55358a7f694;hb=ed8746801e0d9a5fc5fec006efdedac1c09e7bbf;hp=6d3bc451acd6386774f74c21a0554ab1e541b4d9;hpb=6d9a0a9420167a87d353b53b93fec17ad61b4b61;p=mirror_edk2.git diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.c b/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.c index 6d3bc451ac..630c41b71d 100644 --- a/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.c +++ b/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.c @@ -476,6 +476,7 @@ ParseAcpi ( UINT32 Index; UINT32 Offset; BOOLEAN HighLight; + UINTN OriginalAttribute; Offset = 0; @@ -484,7 +485,6 @@ ParseAcpi ( if (Trace && (AsciiName != NULL)){ HighLight = GetColourHighlighting (); - UINTN OriginalAttribute; if (HighLight) { OriginalAttribute = gST->ConOut->Mode->Attribute;