From f4c2b0de41f703aa2000c344484e7cd37db56a32 Mon Sep 17 00:00:00 2001 From: Vincent Isambart Date: Fri, 29 Apr 2022 00:37:58 +0900 Subject: Fix errors when building with the latest Xcode (#2215) * Fix errors when building with the latest Xcode * Bring back unused variable to better match comments Co-authored-by: jsmall-nvidia --- source/slang/slang-parser.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'source/slang/slang-parser.cpp') 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 -- cgit v1.2.3