diff --git a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp index ff643f4d2831..7b0c2e781803 100644 --- a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp +++ b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp @@ -751,7 +751,6 @@ ObjectFileMachO::ParseSections () { lldb::user_id_t segID = 0; lldb::user_id_t sectID = 0; - struct segment_command_64 load_cmd; uint32_t offset = MachHeaderSizeFromMagic(m_header.magic); uint32_t i; const bool is_core = GetType() == eTypeCoreFile; @@ -760,24 +759,32 @@ ObjectFileMachO::ParseSections () // First look up any LC_ENCRYPTION_INFO load commands typedef RangeArray EncryptedFileRanges; EncryptedFileRanges encrypted_file_ranges; + encryption_info_command encryption_cmd; for (i=0; i