diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-08-31 23:54:38 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-08-31 23:54:38 +0000 |
commit | 0b6542cbc120f6db0bb8f593e050dae8a09a7281 (patch) | |
tree | c9afe690bf566858772e06dfc4a9f1d30cd0df3a | |
parent | 5832ae6e507a31d3899518efff5eb462a444626d (diff) |
Prevent warning when built with assert off.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112680 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Lex/LiteralSupport.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Lex/LiteralSupport.cpp b/lib/Lex/LiteralSupport.cpp index c758b40032..fb543d0f03 100644 --- a/lib/Lex/LiteralSupport.cpp +++ b/lib/Lex/LiteralSupport.cpp @@ -217,6 +217,7 @@ static void ProcessUCNEscape(const char *&ThisTokBuf, const char *ThisTokEnd, return; } if (wide) { + (void)UcnLenSave; assert(UcnLenSave == 4 && "ProcessUCNEscape - only ucn length of 4 supported"); // little endian assumed. |