From 47585f7deea1e18623a54bb6f9a629604563dc27 Mon Sep 17 00:00:00 2001 From: dmaclach Date: Mon, 24 Feb 2014 21:35:40 +0000 Subject: 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 --- src/client/mac/Framework/Breakpad.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/mac/Framework/Breakpad.mm') diff --git a/src/client/mac/Framework/Breakpad.mm b/src/client/mac/Framework/Breakpad.mm index 0b3fa715..fe592bf3 100644 --- a/src/client/mac/Framework/Breakpad.mm +++ b/src/client/mac/Framework/Breakpad.mm @@ -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); }; -- cgit v1.2.1