[cfe-commits] r115806 - /cfe/trunk/lib/Sema/SemaDeclCXX.cpp
Nick Lewycky
nicholas at mxc.ca
Wed Oct 6 11:37:39 PDT 2010
Author: nicholas
Date: Wed Oct 6 13:37:39 2010
New Revision: 115806
URL: http://llvm.org/viewvc/llvm-project?rev=115806&view=rev
Log:
Silence unused variable warning in Release builds.
Modified:
cfe/trunk/lib/Sema/SemaDeclCXX.cpp
Modified: cfe/trunk/lib/Sema/SemaDeclCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclCXX.cpp?rev=115806&r1=115805&r2=115806&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclCXX.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclCXX.cpp Wed Oct 6 13:37:39 2010
@@ -1168,6 +1168,7 @@
// The member expression points to a static data member.
assert(VD->isStaticDataMember() &&
"Member points to non-static data member!");
+ (void)VD;
return false;
}
More information about the cfe-commits
mailing list