From a66d4b272a91524e5dce90472fdee3b38b5296f1 Mon Sep 17 00:00:00 2001 From: "qsr@chromium.org" Date: Wed, 4 Apr 2012 11:06:35 +0000 Subject: Fixed "unused method" warning, reported by Xcode 4.2 on simulator. Patch by tball@google.com Review URL: https://breakpad.appspot.com/371002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@948 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/client/ios/handler/ios_exception_minidump_generator.mm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/client/ios/handler/ios_exception_minidump_generator.mm b/src/client/ios/handler/ios_exception_minidump_generator.mm index cd0fe65b..b8aebc29 100644 --- a/src/client/ios/handler/ios_exception_minidump_generator.mm +++ b/src/client/ios/handler/ios_exception_minidump_generator.mm @@ -40,12 +40,14 @@ const uint32_t kExpectedFinalSp = 0; const int kExceptionType = EXC_SOFTWARE; const int kExceptionCode = MD_EXCEPTION_CODE_MAC_NS_EXCEPTION; +#ifdef HAS_ARM_SUPPORT // Append the given 4 bytes value to the sp position of the stack represented // by memory. void AppendToMemory(uint8_t *memory, uint32_t sp, uint32_t data) { assert(sizeof(data) == 4); memcpy(memory + sp, &data, sizeof(data)); } +#endif } // namespace -- cgit v1.2.1