From: Manuel López-Ibáñez Date: Fri, 18 Sep 2015 22:34:53 +0000 (+0000) Subject: Misplaced return in previous commit. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eaa797e8d5cac0ea47014f3510828075684d090b;p=gcc.git Misplaced return in previous commit. 2015-09-18 Manuel López-Ibáñez * c-pragma.c (handle_pragma_diagnostic): Fix wrong return. From-SVN: r227924 --- diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 49df8c9ed76..b45b53e31fe 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,7 @@ +2015-09-18 Manuel López-Ibáñez + + * c-pragma.c (handle_pragma_diagnostic): Fix wrong return. + 2015-09-18 Manuel López-Ibáñez * c-pragma.c (handle_pragma_diagnostic): Use explicit location diff --git a/gcc/c-family/c-pragma.c b/gcc/c-family/c-pragma.c index 4679555ac29..de2304e788e 100644 --- a/gcc/c-family/c-pragma.c +++ b/gcc/c-family/c-pragma.c @@ -712,8 +712,8 @@ handle_pragma_diagnostic(cpp_reader *ARG_UNUSED(dummy)) warning_at (loc, OPT_Wpragmas, "missing [error|warning|ignored|push|pop]" " after %<#pragma GCC diagnostic%>"); + return; } - return; diagnostic_t kind; const char *kind_string = IDENTIFIER_POINTER (x);