[edk2-devel] [PATCH EDK2 v1 0/1] BaseTools/GenFfs: Optimazing else if statement

wenyi,xie via groups.io xiewenyi2=huawei.com at groups.io
Mon Dec 14 03:11:28 UTC 2020


Main Changes :
When Alignment < 0x400 is false, the expression of Alignment >= 0x400 is
always true. So extract the expression from the 
else if (Alignment >= 0x400statement).

Wenyi Xie (1):
  BaseTools/GenFfs: Optimazing else if statement

 BaseTools/Source/C/GenFfs/GenFfs.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

-- 
2.20.1.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#68755): https://edk2.groups.io/g/devel/message/68755
Mute This Topic: https://groups.io/mt/78943290/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list