mirror of https://github.com/acidanthera/audk.git
54537008a2
VS2010/VS2012 build failure with below info:
warning C4701:
potentially uninitialized local variable 'DataOffset' used
potentially uninitialized local variable 'FilePosition' used
potentially uninitialized local variable 'FinishedSeeking' used
potentially uninitialized local variable 'Data' used
warning C4703:
potentially uninitialized local pointer variable 'Data' used
In fact, DataOffset, FilePosition and FinishedSeeking are initialized
and then used if (ReadFileInfo->Flags == READ_FILE_SEEK_AND_READ).
DoFreeAed will be set to TRUE when Data is allocated and returned from
GetAedAdsData(), and Data will be freed if (DoFreeAed) when exiting.
Use same method at
|
||
---|---|---|
.. | ||
CdExpressPei | ||
DiskIoDxe | ||
PartitionDxe | ||
RamDiskDxe | ||
UdfDxe | ||
UnicodeCollation/EnglishDxe |