summaryrefslogtreecommitdiff
path: root/source/slang/lexer.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2017-11-04 19:11:37 -0400
committerYong He <yonghe@outlook.com>2017-11-04 19:11:37 -0400
commitc6fb1de9547bd24a693915b758cc35499f1d949f (patch)
tree2ab3aa7bc1477cad02c82084ecca5e0a3a57f8d0 /source/slang/lexer.cpp
parent215ce206838db63fdd310a0ababe421799011d21 (diff)
fixed last couple warnings under release/x64 build.
Diffstat (limited to 'source/slang/lexer.cpp')
-rw-r--r--source/slang/lexer.cpp1
1 files changed, 1 insertions, 0 deletions
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 == '"');