summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-parser.cpp')
-rw-r--r--source/slang/slang-parser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-parser.cpp b/source/slang/slang-parser.cpp
index 466feecf1..bf0b94120 100644
--- a/source/slang/slang-parser.cpp
+++ b/source/slang/slang-parser.cpp
@@ -4210,6 +4210,7 @@ namespace Slang
// when starting to parse an infix expression.
//
type = nullptr;
+ SLANG_UNUSED(type);
// TODO: If we decide to intermix parsing of statement bodies
// with semantic checking (by delaying the parsing of bodies