]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Fixed the multiple pairs brackets issue in GenFv
authorChao Li <lichao@loongson.cn>
Thu, 20 Oct 2022 09:25:01 +0000 (17:25 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sat, 22 Oct 2022 13:34:29 +0000 (13:34 +0000)
commit6fd754ec0fe96511cc48e3babe1a1b650fb3994f
treefb770c91090c17940197f4a63c1625a92567f982
parent2355f0c09c52d6979f9f471b23816f3081cc946b
BaseTools: Fixed the multiple pairs brackets issue in GenFv

If operation Werro is turned on when compiling BaseTools, the
multi-brackets warning will be reported. This issue is comes from on of
the LoongArch enabled patche. Removed extra pairs brackets to fix it.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4111

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Signed-off-by: Chao Li <lichao@loongson.cn>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/C/GenFv/GenFvInternalLib.c