[lldb][AArch64] Fix an unused variable warning in release builds. NFC

This commit is contained in:
Dmitri Gribenko 2022-07-25 16:58:03 +02:00
parent 883b0d5b7f
commit 82d4f39f34
1 changed files with 1 additions and 0 deletions

View File

@ -290,6 +290,7 @@ MemoryTagManagerAArch64MTE::UnpackTagsFromCoreFileSegment(
const size_t bytes_copied =
reader(tag_segment_data_address + file_offset_in_bytes, tag_bytes_to_read,
tag_data.data());
(void)bytes_copied;
assert(bytes_copied == tag_bytes_to_read);
std::vector<lldb::addr_t> tags;