aboutsummaryrefslogtreecommitdiff
path: root/src/processor
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/processor
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/processor')
-rw-r--r--src/processor/minidump.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/processor/minidump.cc b/src/processor/minidump.cc
index f2240026..ccc90d5a 100644
--- a/src/processor/minidump.cc
+++ b/src/processor/minidump.cc
@@ -165,19 +165,10 @@ static void Swap(uint128_struct* value) {
}
// Swapping signed integers
-static inline void Swap(int16_t* value) {
- Swap(reinterpret_cast<uint16_t*>(value));
-}
-
static inline void Swap(int32_t* value) {
Swap(reinterpret_cast<uint32_t*>(value));
}
-static inline void Swap(int64_t* value) {
- Swap(reinterpret_cast<uint64_t*>(value));
-}
-
-
static inline void Swap(MDLocationDescriptor* location_descriptor) {
Swap(&location_descriptor->data_size);
Swap(&location_descriptor->rva);