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 | 349db7bbcd183c743cc46fb385c1304a9211e793 (patch) | |
tree | b911269d5e085e882f37544e35930ace47c84542 /clang/lib/Basic/SourceManager.cpp | |
parent | fb1ad4f6ec52a7b6e7a12b4715026c64609c0175 (diff) | |
download | llvm-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.cpp | 1 |
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. |