aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-06-23 23:09:58 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-06-23 23:09:58 +0000
commit349db7bbcd183c743cc46fb385c1304a9211e793 (patch)
treeb911269d5e085e882f37544e35930ace47c84542 /clang/lib/Basic/SourceManager.cpp
parentfb1ad4f6ec52a7b6e7a12b4715026c64609c0175 (diff)
downloadllvm-349db7bbcd183c743cc46fb385c1304a9211e793.zip
llvm-349db7bbcd183c743cc46fb385c1304a9211e793.tar.gz
llvm-349db7bbcd183c743cc46fb385c1304a9211e793.tar.bz2
Fix warning when building w/o asserts.
llvm-svn: 74020
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
-rw-r--r--clang/lib/Basic/SourceManager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Basic/SourceManager.cpp b/clang/lib/Basic/SourceManager.cpp
index 31c7e14..69b6be7 100644
--- a/clang/lib/Basic/SourceManager.cpp
+++ b/clang/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.