summaryrefslogtreecommitdiffstats
path: root/SecurityPkg/SecurityPkg.dsc
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2023-03-23 19:29:03 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-04-10 05:59:02 +0000
commit0657e7411623bdc3edba7999f660978ff78d098c (patch)
treef4b9f585fdf9067787ff809e4af21971abc1cf6d /SecurityPkg/SecurityPkg.dsc
parentc28c16e7c447f3f684ab14644dfb201be8c37aa3 (diff)
downloadedk2-0657e7411623bdc3edba7999f660978ff78d098c.tar.gz
edk2-0657e7411623bdc3edba7999f660978ff78d098c.tar.bz2
edk2-0657e7411623bdc3edba7999f660978ff78d098c.zip
SecurityPkg/Library/SecureBootVariableLib: Fix VS20xx 4122 errors
The unit test code for the SecureBootVariableLib is initializing local variable structures in their declaration from other local variables that are also initialized in their declaration. ANSI C does not allow this and error 4122 is generated on VS20xx compilers. The test cases are updated to initialize the local structure fields in C statements instead of their local variable declaration. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jian J Wang <jian.j.wang@intel.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Oliver Smith-Denny <osde@linux.microsoft.com>
Diffstat (limited to 'SecurityPkg/SecurityPkg.dsc')
0 files changed, 0 insertions, 0 deletions