summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Common/EdkLogger.py
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2018-02-07 04:00:17 +0300
committerRuiyu Ni <ruiyu.ni@intel.com>2018-02-08 07:46:46 +0300
commita012bf6e3e08d1fc878ffb271932e3cbce4a71f6 (patch)
tree34489c04d9f1ec52726085aa09b33d47523347f5 /BaseTools/Source/Python/Common/EdkLogger.py
parent77204d608be05103a68b470fbbcdeccfc887911f (diff)
downloadedk2-a012bf6e3e08d1fc878ffb271932e3cbce4a71f6.tar.xz
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/Common/EdkLogger.py')
0 files changed, 0 insertions, 0 deletions