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:
Brad King 2011-02-15 08:46:50 -05:00
parent d4884710a4
commit acd8161bad
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{