mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 15:41:46 +00:00
Suppress unused variable warning
llvm-svn: 207039
This commit is contained in:
parent
b6d051c4f0
commit
cae82a205e
@ -3202,8 +3202,10 @@ TagDecl *TagDecl::getCanonicalDecl() { return getFirstDecl(); }
|
||||
|
||||
void TagDecl::setTypedefNameForAnonDecl(TypedefNameDecl *TDD) {
|
||||
NamedDeclOrQualifier = TDD;
|
||||
if (const Type *T = getTypeForDecl())
|
||||
if (const Type *T = getTypeForDecl()) {
|
||||
(void)T;
|
||||
assert(T->isLinkageValid());
|
||||
}
|
||||
assert(isLinkageValid());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user