From 9e9e236c825aea5c57a6eefa887bfc59d523866a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 31 Mar 2019 06:03:42 -0400 Subject: 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 --- src/common/mac/macho_reader.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.1