[llvm-commits] [dragonegg] r137456 - /dragonegg/trunk/src/Cache.cpp
Duncan Sands
baldrick at free.fr
Fri Aug 12 07:01:24 PDT 2011
Author: baldrick
Date: Fri Aug 12 09:01:24 2011
New Revision: 137456
URL: http://llvm.org/viewvc/llvm-project?rev=137456&view=rev
Log:
Eliminate a compiler warning when building with assertions off.
Modified:
dragonegg/trunk/src/Cache.cpp
Modified: dragonegg/trunk/src/Cache.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/Cache.cpp?rev=137456&r1=137455&r2=137456&view=diff
==============================================================================
--- dragonegg/trunk/src/Cache.cpp (original)
+++ dragonegg/trunk/src/Cache.cpp Fri Aug 12 09:01:24 2011
@@ -236,4 +236,5 @@
(*slot)->base.from = t;
WeakVH *W = new(&(*slot)->V) WeakVH(V);
assert(W == &(*slot)->V && "Pointer was displaced!");
+ (void)W;
}
More information about the llvm-commits
mailing list