aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2019-03-31 06:03:42 -0400
committerMike Frysinger <vapier@chromium.org>2019-04-05 00:25:48 +0000
commit9e9e236c825aea5c57a6eefa887bfc59d523866a (patch)
tree8104823088f0b5b2112247f2a8546a3f777e171e
parentlinux_core_dumper: add explicit casts for exception fields (diff)
downloadbreakpad-9e9e236c825aea5c57a6eefa887bfc59d523866a.tar.xz
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>
-rw-r--r--src/common/mac/macho_reader.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common/mac/macho_reader.cc b/src/common/mac/macho_reader.cc
index b4e3192a..91e1fdd2 100644
--- a/src/common/mac/macho_reader.cc
+++ b/src/common/mac/macho_reader.cc
@@ -342,7 +342,6 @@ bool Reader::WalkLoadCommands(Reader::LoadCommandHandler *handler) const {
segment.bits_64 = (type == LC_SEGMENT_64);
size_t word_size = segment.bits_64 ? 8 : 4;
cursor.CString(&segment.name, 16);
- size_t file_offset, file_size;
cursor
.Read(word_size, false, &segment.vmaddr)
.Read(word_size, false, &segment.vmsize)