]> granicus.if.org Git - clang/commitdiff
Suppress !+Asserts warning.
authorDaniel Dunbar <daniel@zuster.org>
Fri, 16 Jul 2010 00:00:11 +0000 (00:00 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 16 Jul 2010 00:00:11 +0000 (00:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108480 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/PCHReader.cpp

index 00aee491d644753f808ae74a08ad476ccdfd1b85..9c132f40ebcfaca8f959c58a5ad4da604fa99c83 100644 (file)
@@ -170,6 +170,7 @@ static bool EqualConcatenations(llvm::SmallVector<llvm::StringRef, 2> L,
   // Do it the hard way. At this point, both vectors must be non-empty.
   llvm::StringRef LR = L[0], RR = R[0].Data;
   unsigned LI = 0, RI = 0, LN = L.size(), RN = R.size();
+  (void) RN;
   for (;;) {
     // Compare the current pieces.
     if (LR.size() == RR.size()) {