mirror of https://github.com/acidanthera/audk.git
OvmfPkg/VmgExitLib: Fix uninitialized variable warning with XCODE5
XCODE5 reported the following warning: OvmfPkg/Library/VmgExitLib/VmgExitVcHandler.c:1895:12: note: uninitialized use occurs here Compacted ^^^^^^^^^ Initialize the 'Compacted' variable to fix the warning. Signed-off-by: Rebecca Cran <quic_rcran@quicinc.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
parent
1193aa2dfb
commit
85589ddbf6
|
@ -1872,6 +1872,7 @@ GetCpuidFw (
|
||||||
UINT32 XSaveSize;
|
UINT32 XSaveSize;
|
||||||
|
|
||||||
XssMsr.Uint64 = 0;
|
XssMsr.Uint64 = 0;
|
||||||
|
Compacted = FALSE;
|
||||||
if (EcxIn == 1) {
|
if (EcxIn == 1) {
|
||||||
/*
|
/*
|
||||||
* The PPR and APM aren't clear on what size should be encoded in
|
* The PPR and APM aren't clear on what size should be encoded in
|
||||||
|
|
Loading…
Reference in New Issue