From 5c72922c75990f1cf0682408487fbf56078902ee Mon Sep 17 00:00:00 2001 From: "braveyao@webrtc.org" Date: Wed, 11 Mar 2015 11:10:32 +0000 Subject: [PATCH] Remove unused member functions in audio_device_mac.h, which would cause compiling warning with clang -Wthread-safety-anaysis. Reported and fixed by mozilla. Imported here(We don't have any problem since we suppressed those warning in r7961). BUG=4362 TEST=AutoTest R=henrika@webrtc.org Review URL: https://webrtc-codereview.appspot.com/41209004 Cr-Commit-Position: refs/heads/master@{#8681} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8681 4adac7df-926f-26a2-2b94-8c16560cd09d --- .../modules/audio_device/mac/audio_device_mac.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/webrtc/modules/audio_device/mac/audio_device_mac.h b/webrtc/modules/audio_device/mac/audio_device_mac.h index e64b564d30..7754f56794 100644 --- a/webrtc/modules/audio_device/mac/audio_device_mac.h +++ b/webrtc/modules/audio_device/mac/audio_device_mac.h @@ -182,21 +182,6 @@ private: virtual int32_t MicrophoneIsAvailable(bool& available); virtual int32_t SpeakerIsAvailable(bool& available); - void Lock() EXCLUSIVE_LOCK_FUNCTION(_critSect) - { - _critSect.Enter(); - } - ; - void UnLock() UNLOCK_FUNCTION(_critSect) - { - _critSect.Leave(); - } - ; - int32_t Id() - { - return _id; - } - static void AtomicSet32(int32_t* theValue, int32_t newValue); static int32_t AtomicGet32(int32_t* theValue);