Skip to content

Commit 6c99715

Browse files
MaskRayvsapsai
authored andcommitted
[ASTReader] Fix -Wunused-private-field in non-assertion builds after D128490. NFC
(cherry picked from commit 36a1ca5)
1 parent 0d1d33e commit 6c99715

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/Serialization/ASTReader.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9767,6 +9767,7 @@ void ASTReader::diagnoseOdrViolations() {
97679767
}
97689768

97699769
assert(Context.hasSameType(FirstField->getType(), SecondField->getType()));
9770+
(void)Context;
97709771

97719772
QualType FirstType = FirstField->getType();
97729773
QualType SecondType = SecondField->getType();

0 commit comments

Comments
 (0)