diff options
author | ivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2014-02-28 10:21:20 +0000 |
---|---|---|
committer | ivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2014-02-28 10:21:20 +0000 |
commit | 1df13fed15324d3f9e815b84588a758f67834d7f (patch) | |
tree | b3f3f7973478fb904f31c240032d8e44b8240739 /src/client/ios | |
parent | Renaming file COPYING to LICENSE and appending the disclaimer from src/common... (diff) | |
download | breakpad-1df13fed15324d3f9e815b84588a758f67834d7f.tar.xz |
Fixing compiler warnings:
- Building Breakpad in Xcode with arm64 architecture.
- iOS
Patches provided by: Ian Hickson and Greg Vance.
R=mark@chromium.org
Review URL: https://breakpad.appspot.com/1184003
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1286 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/ios')
-rw-r--r-- | src/client/ios/Breakpad.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/ios/Breakpad.mm b/src/client/ios/Breakpad.mm index 65bf51e9..66125597 100644 --- a/src/client/ios/Breakpad.mm +++ b/src/client/ios/Breakpad.mm @@ -98,7 +98,7 @@ class ProtectedMemoryLocker { : mutex_(mutex), allocator_(allocator) { // Lock the mutex - int rv = pthread_mutex_lock(mutex_); + __attribute__((unused)) int rv = pthread_mutex_lock(mutex_); assert(rv == 0); // Unprotect the memory @@ -110,7 +110,7 @@ class ProtectedMemoryLocker { allocator_->Protect(); // Then unlock the mutex - int rv = pthread_mutex_unlock(mutex_); + __attribute__((unused)) int rv = pthread_mutex_unlock(mutex_); assert(rv == 0); }; |