diff options
author | Dave Parks <davep@lindenlab.com> | 2011-12-09 12:23:04 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-12-09 12:23:04 -0600 |
commit | 723ce604560f71622d0381e47230b87f07262d99 (patch) | |
tree | 315a6180c247e75212deef69f82af616d39628ea /indra/llcommon | |
parent | 09feaac844d67a94ffe8c98a201e1e7f2f84be9a (diff) |
Backed out changeset fafd857891b1
Diffstat (limited to 'indra/llcommon')
-rw-r--r-- | indra/llcommon/llthread.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/indra/llcommon/llthread.h b/indra/llcommon/llthread.h index b0a1c9e12b..40291a2569 100644 --- a/indra/llcommon/llthread.h +++ b/indra/llcommon/llthread.h @@ -187,18 +187,11 @@ public: LLMutexLock(LLMutex* mutex) { mMutex = mutex; - - if(mMutex) - { - mMutex->lock(); - } + mMutex->lock(); } ~LLMutexLock() { - if(mMutex) - { - mMutex->unlock(); - } + mMutex->unlock(); } private: LLMutex* mMutex; |