]> granicus.if.org Git - clang/commitdiff
Fix warning when building w/o asserts.
authorDaniel Dunbar <daniel@zuster.org>
Tue, 23 Jun 2009 23:09:58 +0000 (23:09 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 23 Jun 2009 23:09:58 +0000 (23:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74020 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/SourceManager.cpp

index 31c7e14d5c201f2cdd32a9eeb784b119ec885d88..69b6be79d13f543b25f4f89e81971b5d3fb3e30b 100644 (file)
@@ -1047,6 +1047,7 @@ bool SourceManager::isBeforeInTranslationUnit(SourceLocation LHS,
   // FIXME: Should there be a way to "include" memory buffers in the translation
   // unit ?
   assert((LEntry != 0 || REntry != 0) && "Locations in memory buffers.");
+  (void) REntry;
   
   // Consider the memory buffer as coming before the file in the translation
   // unit.