diff mbox

formatting nit

Message ID 9594f8b7-3833-b2e6-9618-731d2d5b0d37@acm.org
State New
Headers show

Commit Message

Nathan Sidwell Dec. 2, 2016, 1:14 p.m. UTC
Another formatting nit I noticed.  Committed.

nathan
-- 
Nathan Sidwell
diff mbox

Patch

2016-12-02  Nathan Sidwell  <nathan@acm.org>

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

Index: diagnostic.c
===================================================================
--- diagnostic.c	(revision 243176)
+++ diagnostic.c	(working copy)
@@ -834,9 +834,7 @@  diagnostic_report_diagnostic (diagnostic
      -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))