aboutsummaryrefslogtreecommitdiff
path: root/src/client/ios/Breakpad.mm
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/ios/Breakpad.mm')
-rw-r--r--src/client/ios/Breakpad.mm4
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);
};