summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2019-07-17 06:19:48 +0300
committerEric Dong <eric.dong@intel.com>2019-07-18 03:22:19 +0300
commit04dd0cb972cd35f4bf59f5692096a65b840156d5 (patch)
treed0f259c301eebbe5d688df916630dab5f2a93043 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c
parentcce01f538fb4d6ae8c13c88cfc0d3caf5baca833 (diff)
downloadedk2-04dd0cb972cd35f4bf59f5692096a65b840156d5.tar.xz
UefiCpuPkg DxeRegisterCpuFeaturesLib: Fix VS2012 build failure
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1968 The new VS2012 build failure is caused by 7a0df26. xxx\registercpufeatureslib\dxeregistercpufeatureslib.c(258) : warning C4701: potentially uninitialized local variable 'MpEvent' used It is a false positive alarm. MpEvent is assigned at line 238 and will be used at line 258, both lines are controlled by "if (CpuFeaturesData->NumberOfCpus > 1)". This patch initializes MpEvent to suppress incorrect compiler/analyzer warnings. Cc: Laszlo Ersek <lersek@redhat.com> Cc: Eric Dong <eric.dong@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Dandan Bi <dandan.bi@intel.com> Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c')
0 files changed, 0 insertions, 0 deletions