diff --git a/lib/DebugInfo/CodeView/TypeStreamMerger.cpp b/lib/DebugInfo/CodeView/TypeStreamMerger.cpp index c233db5c1d0..45b462378cb 100644 --- a/lib/DebugInfo/CodeView/TypeStreamMerger.cpp +++ b/lib/DebugInfo/CodeView/TypeStreamMerger.cpp @@ -393,6 +393,7 @@ TypeStreamMerger::remapIndices(const CVType &OriginalType, assert(Storage.size() == AlignedSize && "The storage buffer size is not a multiple of 4 bytes which will " "cause misalignment in the output TPI stream!"); + (void)AlignedSize; SmallVector Refs; discoverTypeIndices(OriginalType.RecordData, Refs);