diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2023-08-25 13:08:54 +0200 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-08-26 21:05:54 +0000 |
commit | 536ea50c53391ec2195d494e2243c6351a70a171 (patch) | |
tree | 44c562390b6cc19523709fb75d2a3ff9e4c5191d /payloads | |
parent | ae57f1d2dcb058f44690b44c36870605aa725f08 (diff) |
libpayload: Remove unnecessary brackets
This fixes compilation with clang.
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Change-Id: I675056c8a15fe446bba81a144bfea64d106df293
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77435
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'payloads')
-rw-r--r-- | payloads/libpayload/curses/form/frm_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/curses/form/frm_driver.c b/payloads/libpayload/curses/form/frm_driver.c index e058d198d7..275914881d 100644 --- a/payloads/libpayload/curses/form/frm_driver.c +++ b/payloads/libpayload/curses/form/frm_driver.c @@ -1326,7 +1326,7 @@ _nc_Synchronize_Options(FIELD *field, Field_Options newopts) field->opts = oldopts; returnCode(E_CURRENT); } - if ((form->curpage == field->page)) + if (form->curpage == field->page) { if (changed_opts & O_VISIBLE) { |