Skip to content

Commit 5bcfe6e

Browse files
wrotkiMariusz Borsa
andauthored
[Sanitizers] Remove unused variable (llvm#177061)
Must've remained from debugging the test case. rdar://119958411 Co-authored-by: Mariusz Borsa <m_borsa@apple.com>
1 parent 688a884 commit 5bcfe6e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

compiler-rt/lib/sanitizer_common/tests/sanitizer_procmaps_mac_test.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ class MemoryMappingLayoutMock final : public MemoryMappingLayout {
106106
start_load_cmd_addr = (const char *)(mock_header.data() + header_size);
107107
sizeofcmds = header->sizeofcmds;
108108

109-
const char *last_byte_load_cmd_addr = (start_load_cmd_addr + sizeofcmds - 1);
110109
data_.current_image = -1; // So the loop in ::Next runs just once
111110
}
112111

0 commit comments

Comments
 (0)