commit | a8426972609c908b529ab26c69c35586d8bc06a8 | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Thu May 06 05:28:42 2010 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Thu May 06 05:28:42 2010 +0000 |
tree | 2b7a53ffab2f7ae92a7442a4a34ce14e23729711 | |
parent | c40f73c6e715044d327409564bf3656254101d46 [diff] [blame] |
Mark a variable as used in the absence of asserts to silence a GCC warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103165 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/Decl.cpp b/lib/AST/Decl.cpp index ffe4967..e19a9fb 100644 --- a/lib/AST/Decl.cpp +++ b/lib/AST/Decl.cpp
@@ -1509,6 +1509,7 @@ TypeForDecl->getAs<InjectedClassNameType>())) { assert(Injected->Decl == this && "Attempt to redefine a class template definition?"); + (void)Injected; } }