Attention is currently required from: Felix Singer.
Hello build bot (Jenkins), Edward O'Callaghan, Angel Pons,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/68153
to look at the new patch set (#6).
Change subject: libflashrom.c: Invert if conditions to improve the readability ......................................................................
libflashrom.c: Invert if conditions to improve the readability
Invert some if conditions to improve the readability of the code. Instead of running some code if the specific condition applies, error out early and reduce the indentation levels.
Also, while at it, move the initializers for these for-loops iterators into their constructs. They are only used by them.
Change-Id: I4021d8802cd041dcca29a226af0798ebd9c5a81b Signed-off-by: Felix Singer felixsinger@posteo.net --- M libflashrom.c 1 file changed, 53 insertions(+), 36 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/53/68153/6