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