mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-24 09:45:38 +01:00
mac dump_syms: remove unused vars to fix -Werror build failures
Bug: chromium:940823, chromium:946404 Change-Id: Ib8af7f0845b0488f36cd1b91326aba11bf283b0a Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/1546779 Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
e2b3b80e43
commit
9e9e236c82
@ -342,7 +342,6 @@ bool Reader::WalkLoadCommands(Reader::LoadCommandHandler *handler) const {
|
|||||||
segment.bits_64 = (type == LC_SEGMENT_64);
|
segment.bits_64 = (type == LC_SEGMENT_64);
|
||||||
size_t word_size = segment.bits_64 ? 8 : 4;
|
size_t word_size = segment.bits_64 ? 8 : 4;
|
||||||
cursor.CString(&segment.name, 16);
|
cursor.CString(&segment.name, 16);
|
||||||
size_t file_offset, file_size;
|
|
||||||
cursor
|
cursor
|
||||||
.Read(word_size, false, &segment.vmaddr)
|
.Read(word_size, false, &segment.vmaddr)
|
||||||
.Read(word_size, false, &segment.vmsize)
|
.Read(word_size, false, &segment.vmsize)
|
||||||
|
Loading…
Reference in New Issue
Block a user