Misplaced return in previous commit.

2015-09-18  Manuel López-Ibáñez  <manu@gcc.gnu.org>

	* c-pragma.c (handle_pragma_diagnostic): Fix wrong return.

From-SVN: r227924
parent c4914de6
2015-09-18 Manuel López-Ibáñez <manu@gcc.gnu.org> 2015-09-18 Manuel López-Ibáñez <manu@gcc.gnu.org>
* c-pragma.c (handle_pragma_diagnostic): Fix wrong return.
2015-09-18 Manuel López-Ibáñez <manu@gcc.gnu.org>
* c-pragma.c (handle_pragma_diagnostic): Use explicit location * c-pragma.c (handle_pragma_diagnostic): Use explicit location
when warning. when warning.
* c-pragma.h (pragma_lex): Add optional loc argument. * c-pragma.h (pragma_lex): Add optional loc argument.
......
...@@ -712,8 +712,8 @@ handle_pragma_diagnostic(cpp_reader *ARG_UNUSED(dummy)) ...@@ -712,8 +712,8 @@ handle_pragma_diagnostic(cpp_reader *ARG_UNUSED(dummy))
warning_at (loc, OPT_Wpragmas, warning_at (loc, OPT_Wpragmas,
"missing [error|warning|ignored|push|pop]" "missing [error|warning|ignored|push|pop]"
" after %<#pragma GCC diagnostic%>"); " after %<#pragma GCC diagnostic%>");
return;
} }
return;
diagnostic_t kind; diagnostic_t kind;
const char *kind_string = IDENTIFIER_POINTER (x); const char *kind_string = IDENTIFIER_POINTER (x);
......
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