style changes

* src/complain.c, src/reader.c, src/reduce.c, src/main.c:
Fix indentation.
Simplify a bit.
This commit is contained in:
Victor Santet
2012-06-29 15:22:12 +02:00
committed by Akim Demaille
parent 415b88231a
commit 5ff5cf6700
5 changed files with 19 additions and 22 deletions

View File

@@ -115,10 +115,8 @@ complains (const location *loc, warnings flags, const char *message,
error_message (loc, flags, _("warning"), message, args);
}
}
else
else if (warnings_flag & flags)
{
if (! (warnings_flag & flags))
return;
set_warning_issued ();
error_message (loc, flags, _("warning"), message, args);
}