diff options
author | Jeff Fan <jeff.fan@intel.com> | 2017-03-23 09:37:47 +0800 |
---|---|---|
committer | Jeff Fan <jeff.fan@intel.com> | 2017-03-23 10:00:53 +0800 |
commit | cab6b79cf4958044aa384dc6c1f6ef62ffd8a357 (patch) | |
tree | d954db0304efb7132d81dc79a7d2237990be8524 /StdLib/BsdSocketLib/Socklib_internals.h | |
parent | afc620175924cd6c0e4c8ca17664c39e2c6deeb2 (diff) | |
download | edk2-platforms-cab6b79cf4958044aa384dc6c1f6ef62ffd8a357.tar.xz |
UefiCpuPkg/RegisterCpuFeaturesLib: Set CpuFeatureEntry initial value
CpuFeatureEntry will be set before using it. But VS2012 build reported the build
warning "potentially uninitialized local variable 'CpuFeatureEntry' used".
This fix is to set CpuFeatureEntry initial value and add ASSERT check later.
Cc: Feng Tian <feng.tian@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
Diffstat (limited to 'StdLib/BsdSocketLib/Socklib_internals.h')
0 files changed, 0 insertions, 0 deletions