diff options
author | Dandan Bi <dandan.bi@intel.com> | 2018-02-07 09:00:17 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-02-08 12:46:46 +0800 |
commit | a012bf6e3e08d1fc878ffb271932e3cbce4a71f6 (patch) | |
tree | 34489c04d9f1ec52726085aa09b33d47523347f5 /BaseTools/Source/Python/Common/GlobalData.py | |
parent | 77204d608be05103a68b470fbbcdeccfc887911f (diff) | |
download | edk2-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/Common/GlobalData.py')
0 files changed, 0 insertions, 0 deletions