summaryrefslogtreecommitdiff
path: root/src/libicalss/icalssyacc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libicalss/icalssyacc.c')
-rw-r--r--src/libicalss/icalssyacc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libicalss/icalssyacc.c b/src/libicalss/icalssyacc.c
index 2416e528..e386ad80 100644
--- a/src/libicalss/icalssyacc.c
+++ b/src/libicalss/icalssyacc.c
@@ -1599,9 +1599,11 @@ yyerrorlab:
/* Pacify compilers like GCC when the user code never invokes
YYERROR and the label yyerrorlab therefore never appears in user
code. */
- if (/*CONSTCOND*/ 0)
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wunreachable-code"
+ if (/*CONSTCOND*/ 0)
goto yyerrorlab;
-
+#pragma clang diagnostic pop
/* Do not reclaim the symbols of the rule which action triggered
this YYERROR. */
YYPOPSTACK (yylen);