From: Daniel Dunbar Date: Fri, 16 Jul 2010 00:00:11 +0000 (+0000) Subject: Suppress !+Asserts warning. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c76c9e0856ff3aa47590474c9404dfb598c0564c;p=clang Suppress !+Asserts warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108480 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Frontend/PCHReader.cpp b/lib/Frontend/PCHReader.cpp index 00aee491d6..9c132f40eb 100644 --- a/lib/Frontend/PCHReader.cpp +++ b/lib/Frontend/PCHReader.cpp @@ -170,6 +170,7 @@ static bool EqualConcatenations(llvm::SmallVector 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()) {