public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH EDK2 v1 0/1] BaseTools/GenFfs: Optimazing else if statement
@ 2020-12-14  3:11 wenyi,xie
  2020-12-14  3:11 ` [PATCH EDK2 v1 1/1] " wenyi,xie
  0 siblings, 1 reply; 4+ messages in thread
From: wenyi,xie @ 2020-12-14  3:11 UTC (permalink / raw)
  To: devel, bob.c.feng, gaoliming, yuwei.chen; +Cc: songdongkuang, xiewenyi2

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-12-15  4:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-14  3:11 [PATCH EDK2 v1 0/1] BaseTools/GenFfs: Optimazing else if statement wenyi,xie
2020-12-14  3:11 ` [PATCH EDK2 v1 1/1] " wenyi,xie
2020-12-15  4:02   ` Bob Feng
2020-12-15  4:18     ` wenyi,xie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox