From c6fb1de9547bd24a693915b758cc35499f1d949f Mon Sep 17 00:00:00 2001 From: Yong He Date: Sat, 4 Nov 2017 19:11:37 -0400 Subject: fixed last couple warnings under release/x64 build. --- source/slang/lexer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'source/slang/lexer.cpp') diff --git a/source/slang/lexer.cpp b/source/slang/lexer.cpp index 11c70d1f5..3f8709a9d 100644 --- a/source/slang/lexer.cpp +++ b/source/slang/lexer.cpp @@ -808,6 +808,7 @@ namespace Slang char const* cursor = token.Content.begin(); char const* end = token.Content.end(); + SLANG_UNREFERENCED_VARIABLE(end); auto quote = *cursor++; SLANG_ASSERT(quote == '\'' || quote == '"'); -- cgit v1.2.3