diff options
-rw-r--r-- | UefiCpuPkg/Library/MpInitLib/Microcode.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/UefiCpuPkg/Library/MpInitLib/Microcode.c b/UefiCpuPkg/Library/MpInitLib/Microcode.c index efda143..d84344c 100644 --- a/UefiCpuPkg/Library/MpInitLib/Microcode.c +++ b/UefiCpuPkg/Library/MpInitLib/Microcode.c @@ -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
|