Commit 03fd1ef6 by Nathan Sidwell Committed by Nathan Sidwell

diagnostic.c (diagnostic_report_diagnostic): Remove extraneous braces.

	* diagnostic.c (diagnostic_report_diagnostic): Remove extraneous
	braces.

From-SVN: r243177
parent d003d97f
2016-12-02 Nathan Sidwell <nathan@acm.org>
* diagnostic.c (diagnostic_report_diagnostic): Remove extraneous
braces.
2016-12-02 Aldy Hernandez <aldyh@redhat.com>
PR middle-end/78328
......@@ -834,9 +834,7 @@ diagnostic_report_diagnostic (diagnostic_context *context,
-Wno-error=*. */
if (context->warning_as_error_requested
&& diagnostic->kind == DK_WARNING)
{
diagnostic->kind = DK_ERROR;
}
diagnostic->kind = DK_ERROR;
if (diagnostic->option_index
&& diagnostic->option_index != permissive_error_option (context))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment