mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-03-24 13:43:00 +00:00
Fixup breakpad compile for Xcode 5.1 iOS release
(https://breakpad.appspot.com/1154002/) git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1282 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
@@ -102,7 +102,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
|
||||
@@ -114,7 +114,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);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user