[cfe-commits] r74020 - /cfe/trunk/lib/Basic/SourceManager.cpp
Daniel Dunbar
daniel at zuster.org
Tue Jun 23 16:10:02 PDT 2009
Author: ddunbar
Date: Tue Jun 23 18:09:58 2009
New Revision: 74020
URL: http://llvm.org/viewvc/llvm-project?rev=74020&view=rev
Log:
Fix warning when building w/o asserts.
Modified:
cfe/trunk/lib/Basic/SourceManager.cpp
Modified: cfe/trunk/lib/Basic/SourceManager.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/SourceManager.cpp?rev=74020&r1=74019&r2=74020&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/SourceManager.cpp (original)
+++ cfe/trunk/lib/Basic/SourceManager.cpp Tue Jun 23 18:09:58 2009
@@ -1047,6 +1047,7 @@
// 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.
More information about the cfe-commits
mailing list