ccmake: Remove extra parens around comparison
The Clang compiler warns about extra parenthesis in the code if ((form->curpage == field->page)) ~ ^ ~ because the idiom is commonly used when an assignment is intended instead of a comparison. Remove the extra enclosing layer.
This commit is contained in:
parent
d4884710a4
commit
acd8161bad
|
@ -1086,7 +1086,7 @@ _nc_Synchronize_Options(FIELD *field, Field_Options newopts)
|
|||
|
||||
if (form->status & _POSTED)
|
||||
{
|
||||
if ((form->curpage == field->page))
|
||||
if (form->curpage == field->page)
|
||||
{
|
||||
if (changed_opts & O_VISIBLE)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue