[cfe-commits] r112680 - /cfe/trunk/lib/Lex/LiteralSupport.cpp

Fariborz Jahanian fjahanian at apple.com
Tue Aug 31 16:54:38 PDT 2010


Author: fjahanian
Date: Tue Aug 31 18:54:38 2010
New Revision: 112680

URL: http://llvm.org/viewvc/llvm-project?rev=112680&view=rev
Log:
Prevent warning when built with assert off.


Modified:
    cfe/trunk/lib/Lex/LiteralSupport.cpp

Modified: cfe/trunk/lib/Lex/LiteralSupport.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/LiteralSupport.cpp?rev=112680&r1=112679&r2=112680&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/LiteralSupport.cpp (original)
+++ cfe/trunk/lib/Lex/LiteralSupport.cpp Tue Aug 31 18:54:38 2010
@@ -217,6 +217,7 @@
     return;
   }
   if (wide) {
+    (void)UcnLenSave;
     assert(UcnLenSave == 4 && 
            "ProcessUCNEscape - only ucn length of 4 supported");
     // little endian assumed.





More information about the cfe-commits mailing list