1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00

Fix "unused variable" warning in NDEBUG builds.

This commit is contained in:
Richard Smith 2020-03-13 13:56:57 -07:00
parent 24d4829906
commit 3f9596e9a9

View File

@ -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<TiReference, 4> Refs;
discoverTypeIndices(OriginalType.RecordData, Refs);