From 0b6542cbc120f6db0bb8f593e050dae8a09a7281 Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Tue, 31 Aug 2010 23:54:38 +0000 Subject: [PATCH] Prevent warning when built with assert off. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112680 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Lex/LiteralSupport.cpp | 1 + 1 file changed, 1 insertion(+) 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. -- 2.40.0