From 73901961ee1a43e569b23ec721ed5e1e7b14e621 Mon Sep 17 00:00:00 2001 From: Alex Langford Date: Mon, 24 Jun 2019 19:43:22 +0000 Subject: [ABI] Remove unused variables in ABIWindows_x86_64 llvm-svn: 364223 --- lldb/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lldb/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.cpp b/lldb/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.cpp index 843b3704ee3..5dc7717d865 100644 --- a/lldb/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.cpp +++ b/lldb/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.cpp @@ -1653,8 +1653,6 @@ ValueObjectSP ABIWindows_x86_64::GetReturnValueObjectImpl( uint32_t field_byte_width = (uint32_t) (*field_compiler_type.GetByteSize(&thread)); uint32_t field_byte_offset = aggregate_field_offsets[idx]; - uint32_t field_bit_width = field_byte_width * 8; - // this is unlikely w/o the overall size being greater than 8 bytes // For now, return a nullptr return value object. if (used_bytes >= 8 || used_bytes + field_byte_width > 8) { @@ -1663,8 +1661,6 @@ ValueObjectSP ABIWindows_x86_64::GetReturnValueObjectImpl( DataExtractor *copy_from_extractor = nullptr; uint32_t copy_from_offset = 0; - const uint32_t field_byte_flags = field_compiler_type.GetTypeInfo(); - if (field_compiler_type.IsIntegerOrEnumerationType(is_signed) || field_compiler_type.IsPointerType() || field_compiler_type.IsFloatingPointType(count, is_complex)) { -- cgit v1.2.3