From: Nathan Sidwell Date: Fri, 2 Dec 2016 13:14:01 +0000 (+0000) Subject: diagnostic.c (diagnostic_report_diagnostic): Remove extraneous braces. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=03fd1ef632f41caaaa38a80712ed7eda3f97fdff;p=gcc.git diagnostic.c (diagnostic_report_diagnostic): Remove extraneous braces. * diagnostic.c (diagnostic_report_diagnostic): Remove extraneous braces. From-SVN: r243177 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index afac97374a5..7da0acad77a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-12-02 Nathan Sidwell + + * diagnostic.c (diagnostic_report_diagnostic): Remove extraneous + braces. + 2016-12-02 Aldy Hernandez PR middle-end/78328 diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c index 2304e14c761..4278a10890e 100644 --- a/gcc/diagnostic.c +++ b/gcc/diagnostic.c @@ -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))