mirror of https://github.com/acidanthera/audk.git
BaseTools GenVtf: Initialize the return point as NULL
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
9a1a63cf11
commit
c52d9f71ba
|
@ -796,6 +796,7 @@ Returns:
|
|||
|
||||
TmpFitPtr = (FIT_TABLE *) RelativeAddress;
|
||||
NumFitComponents = TmpFitPtr->CompSize;
|
||||
*FitPtr = NULL;
|
||||
|
||||
for (Index = 0; Index < NumFitComponents; Index++) {
|
||||
if ((TmpFitPtr->CvAndType & FIT_TYPE_MASK) == COMP_TYPE_FIT_UNUSED) {
|
||||
|
|
Loading…
Reference in New Issue