UefiCpuPkg/MpInitLib: Fix VS2012 build failure

Cc: Eric Dong <eric.dong@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
This commit is contained in:
Eric Dong 2018-07-20 09:36:41 +08:00
parent a234383c5b
commit 9b7242f5de
1 changed files with 5 additions and 0 deletions

View File

@ -63,6 +63,11 @@ MicrocodeDetect (
UINT32 ProcessorFlags;
UINT32 ThreadId;
//
// set ProcessorFlags to suppress incorrect compiler/analyzer warnings
//
ProcessorFlags = 0;
if (CpuMpData->MicrocodePatchRegionSize == 0) {
//
// There is no microcode patches