mirror of https://github.com/acidanthera/audk.git
IntelFsp2WrapperPkg/FspWrapperMultiPhaseProcessLib: Fix CLANGPDB build
Silences "sometimes-uninitialized" warning by initializing the variable FspMultiPhaseApiOffset and corrects build using LLVM 15 toolchain Signed-off-by: Savva Mitrofanov <savvamtr@gmail.com>
This commit is contained in:
parent
656cd26abc
commit
370c5f3399
|
@ -80,7 +80,8 @@ CallFspMultiPhaseEntry (
|
|||
BOOLEAN IsVariableServiceRequest;
|
||||
FSP_MULTI_PHASE_PARAMS *FspMultiPhaseParamsPtr;
|
||||
|
||||
FspMultiPhaseApiOffset = 0;
|
||||
FspMultiPhaseApiOffset = 0;
|
||||
|
||||
FspMultiPhaseParamsPtr = (FSP_MULTI_PHASE_PARAMS *)FspMultiPhaseParams;
|
||||
IsVariableServiceRequest = FALSE;
|
||||
if ((FspMultiPhaseParamsPtr->MultiPhaseAction == EnumMultiPhaseGetVariableRequestInfo) ||
|
||||
|
|
Loading…
Reference in New Issue