From 3f9596e9a9bc43dd35018ee6970f4cbb4002b030 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Fri, 13 Mar 2020 13:56:57 -0700 Subject: [PATCH] Fix "unused variable" warning in NDEBUG builds. --- lib/DebugInfo/CodeView/TypeStreamMerger.cpp | 1 + 1 file changed, 1 insertion(+) 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);