[Lldb-commits] [lldb] r154145 - /lldb/trunk/include/lldb/Host/ReadWriteLock.h
Bill Wendling
isanbard at gmail.com
Thu Apr 5 17:09:21 PDT 2012
Author: void
Date: Thu Apr 5 19:09:21 2012
New Revision: 154145
URL: http://llvm.org/viewvc/llvm-project?rev=154145&view=rev
Log:
Silence unused warning.
Modified:
lldb/trunk/include/lldb/Host/ReadWriteLock.h
Modified: lldb/trunk/include/lldb/Host/ReadWriteLock.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Host/ReadWriteLock.h?rev=154145&r1=154144&r2=154145&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Host/ReadWriteLock.h (original)
+++ lldb/trunk/include/lldb/Host/ReadWriteLock.h Thu Apr 5 19:09:21 2012
@@ -39,7 +39,7 @@
ReadWriteLock () :
m_rwlock()
{
- int err = ::pthread_rwlock_init(&m_rwlock, NULL);
+ int err = ::pthread_rwlock_init(&m_rwlock, NULL); (void)err;
#if LLDB_CONFIGURATION_DEBUG
assert(err == 0);
#endif
@@ -47,7 +47,7 @@
~ReadWriteLock ()
{
- int err = ::pthread_rwlock_destroy (&m_rwlock);
+ int err = ::pthread_rwlock_destroy (&m_rwlock); (void)err;
#if LLDB_CONFIGURATION_DEBUG
assert(err == 0);
#endif
More information about the lldb-commits
mailing list