diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-06-23 23:09:58 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-06-23 23:09:58 +0000 |
commit | 5eee090e3880f3763a9a81a6780a84829f1c6bd0 (patch) | |
tree | 87c14d97986cacda68604d646034e37dd207af27 | |
parent | 2aa03d588bd2d3c73deb662880c2244bf2e384b9 (diff) |
Fix warning when building w/o asserts.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74020 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Basic/SourceManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Basic/SourceManager.cpp b/lib/Basic/SourceManager.cpp index 31c7e14d5c..69b6be79d1 100644 --- a/lib/Basic/SourceManager.cpp +++ b/lib/Basic/SourceManager.cpp @@ -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. |