Skip to content

Commit 36a1ca5

Browse files
committed
[ASTReader] Fix -Wunused-private-field in non-assertion builds after D128490. NFC
1 parent 50b7eb9 commit 36a1ca5

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
@@ -9818,6 +9818,7 @@ void ASTReader::diagnoseOdrViolations() {
98189818
}
98199819

98209820
assert(Context.hasSameType(FirstField->getType(), SecondField->getType()));
9821+
(void)Context;
98219822

98229823
QualType FirstType = FirstField->getType();
98239824
QualType SecondType = SecondField->getType();

0 commit comments

Comments
 (0)