aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family/c-pragma.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-family/c-pragma.c')
-rw-r--r--gcc/c-family/c-pragma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-family/c-pragma.c b/gcc/c-family/c-pragma.c
index 4679555..de2304e 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);