summaryrefslogtreecommitdiffstats
path: root/Source/LexerParser/cmExprParser.y
diff options
context:
space:
mode:
Diffstat (limited to 'Source/LexerParser/cmExprParser.y')
-rw-r--r--Source/LexerParser/cmExprParser.y4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/LexerParser/cmExprParser.y b/Source/LexerParser/cmExprParser.y
index b49f482..fda2395 100644
--- a/Source/LexerParser/cmExprParser.y
+++ b/Source/LexerParser/cmExprParser.y
@@ -44,6 +44,10 @@ static void cmExpr_yyerror(yyscan_t yyscanner, const char* message);
# pragma clang diagnostic ignored "-Wused-but-marked-unused"
# endif
#endif
+
+#if defined(__NVCOMPILER)
+# pragma diag_suppress 550 /* variable set but never used */
+#endif
%}
/* Generate a reentrant parser object. */