Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1187)

Unified Diff: src/processor/minidump.cc

Issue 1554613002: Let breakpad build with -Wall on OS X and Linux. (Closed) Base URL: https://chromium.googlesource.com/breakpad/breakpad.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/common/linux/synth_elf.cc ('k') | src/tools/mac/symupload/symupload.m » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/processor/minidump.cc
diff --git a/src/processor/minidump.cc b/src/processor/minidump.cc
index f22400268dce50beb31a1e6627953bec10d8d0e7..ccc90d5af8d8e156b05a0d04aeec4e6fffd6ecb1 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);
« no previous file with comments | « src/common/linux/synth_elf.cc ('k') | src/tools/mac/symupload/symupload.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698