]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/Gcd: Suppress incorrect compiler/analyzer warnings
authorStar Zeng <star.zeng@intel.com>
Sun, 8 Apr 2018 01:27:35 +0000 (09:27 +0800)
committerStar Zeng <star.zeng@intel.com>
Sun, 8 Apr 2018 08:39:49 +0000 (16:39 +0800)
commite037e88cd81d4ac63dd627719c87c305bf0b439e
tree4960ba98e967679920653cd6e3c12004919e2c5f
parentf8c0a004a54b955b4d1dc4e6dc2fae3b87008224
MdeModulePkg/Gcd: Suppress incorrect compiler/analyzer warnings

It is caused by 0c9f2cb10b7ddec56a3440e77219fd3ab1725e5c
and false positive.
Initialize CpuArchAttributes to suppress incorrect
compiler/analyzer warnings.

Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Dandan Bi <dandan.bi@intel.com>
MdeModulePkg/Core/Dxe/Gcd/Gcd.c