diff options
author | Kubacki, Michael A </o=Intel/ou=External (FYDIBOHF25SPDLT)/cn=Recipients/cn=3c8b0226e75f4ab08d20c151cb7a8a72> | 2019-11-22 07:02:35 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2019-11-25 14:14:18 +0000 |
commit | bbb5b0d648d918c83f2f99b02e3446787dbe474f (patch) | |
tree | 2747fe29c67c140153aab2cd16de9474dc2099b7 /BaseTools/Source/Python/Workspace/DscBuildData.py | |
parent | 290a485d6043a049b611aab30f450c74b8591f35 (diff) | |
download | edk2-bbb5b0d648d918c83f2f99b02e3446787dbe474f.tar.gz edk2-bbb5b0d648d918c83f2f99b02e3446787dbe474f.tar.bz2 edk2-bbb5b0d648d918c83f2f99b02e3446787dbe474f.zip |
MdeModulePkg/Variable: Initialize local variable "Variable"
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2364
Fixes a new build warning in VS2012 introduced in f8ff4cca7c.
This patch initializes the local variable "Variable" in
VariableServiceGetNextVariableInternal ().
This ensures the pointers in the structure are initialized
in the case no variable stores exist in the list of variable
stores.
Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Signed-off-by: Michael Kubacki <michael.a.kubacki@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/DscBuildData.py')
0 files changed, 0 insertions, 0 deletions