[cfe-commits] r103165 - /cfe/trunk/lib/AST/Decl.cpp
Chandler Carruth
chandlerc at gmail.com
Wed May 5 22:28:42 PDT 2010
Author: chandlerc
Date: Thu May 6 00:28:42 2010
New Revision: 103165
URL: http://llvm.org/viewvc/llvm-project?rev=103165&view=rev
Log:
Mark a variable as used in the absence of asserts to silence a GCC warning.
Modified:
cfe/trunk/lib/AST/Decl.cpp
Modified: cfe/trunk/lib/AST/Decl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Decl.cpp?rev=103165&r1=103164&r2=103165&view=diff
==============================================================================
--- cfe/trunk/lib/AST/Decl.cpp (original)
+++ cfe/trunk/lib/AST/Decl.cpp Thu May 6 00:28:42 2010
@@ -1509,6 +1509,7 @@
TypeForDecl->getAs<InjectedClassNameType>())) {
assert(Injected->Decl == this &&
"Attempt to redefine a class template definition?");
+ (void)Injected;
}
}
More information about the cfe-commits
mailing list