summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2018-02-07 09:00:17 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2018-02-08 12:46:46 +0800
commita012bf6e3e08d1fc878ffb271932e3cbce4a71f6 (patch)
tree34489c04d9f1ec52726085aa09b33d47523347f5 /BaseTools/Source/Python
parent77204d608be05103a68b470fbbcdeccfc887911f (diff)
downloadedk2-a012bf6e3e08d1fc878ffb271932e3cbce4a71f6.tar.gz
edk2-a012bf6e3e08d1fc878ffb271932e3cbce4a71f6.tar.bz2
edk2-a012bf6e3e08d1fc878ffb271932e3cbce4a71f6.zip
MdeModulePkg/PciBusDxe: Fix VS2012 build failure
Initialize local variable to suppress warning C4703: potentially uninitialized local pointer variable. Both reads (dereferences) of "PciRootBridgeIo" in PciBusDriverBindingStart() are only reached if "gFullEnumeration" is TRUE on entry *and* we successfully open the EfiPciRootBridgeIoProtocol interface. Cc: Star Zeng <star.zeng@intel.com> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'BaseTools/Source/Python')
0 files changed, 0 insertions, 0 deletions