mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-07 19:45:07 +02:00
DynamicTablesPkg/AmlLib: Remove unused variables
Building the DynamicTablesPkg for a NOOPT target fails because unused variables are set. Remove these variables. Fixes: d9800046ea43 Reported-by: Leif Lindholm <leif@nuviainc.com> Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com> Reviewed-by: Leif Lindholm <leif@nuviainc.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
This commit is contained in:
parent
2e1e8c35f3
commit
4f4d862c1c
@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
AML NameSpace.
|
||||
|
||||
Copyright (c) 2019 - 2020, Arm Limited. All rights reserved.<BR>
|
||||
Copyright (c) 2019 - 2021, Arm Limited. All rights reserved.<BR>
|
||||
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
**/
|
||||
@ -1075,10 +1075,8 @@ AmlEnumeratePathCallback (
|
||||
AML_PATH_SEARCH_CONTEXT * PathSearchContext;
|
||||
|
||||
AML_STREAM * SearchPathBStream;
|
||||
CHAR8 * SearchedPath;
|
||||
|
||||
AML_STREAM * CurrNodePathBStream;
|
||||
CHAR8 * CurrNodePath;
|
||||
UINT32 CurrNodePathSize;
|
||||
|
||||
ContinueEnum = TRUE;
|
||||
@ -1123,9 +1121,6 @@ AmlEnumeratePathCallback (
|
||||
goto exit_handler;
|
||||
}
|
||||
|
||||
SearchedPath = (CHAR8*)AmlStreamGetCurrPos (SearchPathBStream);
|
||||
CurrNodePath = (CHAR8*)AmlStreamGetCurrPos (CurrNodePathBStream);
|
||||
|
||||
// Get the raw AML absolute pathname of the current node.
|
||||
Status1 = AmlGetRawNameSpacePath (Node, 0, CurrNodePathBStream);
|
||||
if (EFI_ERROR (Status1)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user