aboutsummaryrefslogtreecommitdiff
path: root/src/common/linux/synth_elf.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-12-29 13:42:49 -0800
committerLei Zhang <thestig@chromium.org>2015-12-29 13:42:49 -0800
commit257123ca70f1895cd6fd37c75ebaeef2de9e17b1 (patch)
tree1b45635ad754be8ec2b653a730c9734d4c76667b /src/common/linux/synth_elf.h
parentRemove use of deprecated CFURLCreateDataAndPropertiesFromResource function. (diff)
downloadbreakpad-257123ca70f1895cd6fd37c75ebaeef2de9e17b1.tar.xz
Let breakpad build with -Wall on OS X and Linux.
A=thakis@chromium.org Original Review: https://codereview.chromium.org/1550933002/ R=thakis@chromium.org Review URL: https://codereview.chromium.org/1554613002 .
Diffstat (limited to 'src/common/linux/synth_elf.h')
-rw-r--r--src/common/linux/synth_elf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/linux/synth_elf.h b/src/common/linux/synth_elf.h
index 330ceae8..1d2a20ca 100644
--- a/src/common/linux/synth_elf.h
+++ b/src/common/linux/synth_elf.h
@@ -173,7 +173,9 @@ class SymbolTable : public Section {
uint64_t size, unsigned info, uint16_t shndx);
private:
+#ifndef NDEBUG
size_t addr_size_;
+#endif
StringTable& table_;
};