[Lldb-commits] [lldb] r355238 - Delete commented-out code.
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Fri Mar 1 14:30:31 PST 2019
Author: adrian
Date: Fri Mar 1 14:30:31 2019
New Revision: 355238
URL: http://llvm.org/viewvc/llvm-project?rev=355238&view=rev
Log:
Delete commented-out code.
Modified:
lldb/trunk/source/Host/common/ProcessRunLock.cpp
Modified: lldb/trunk/source/Host/common/ProcessRunLock.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/ProcessRunLock.cpp?rev=355238&r1=355237&r2=355238&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/ProcessRunLock.cpp (original)
+++ lldb/trunk/source/Host/common/ProcessRunLock.cpp Fri Mar 1 14:30:31 2019
@@ -14,17 +14,11 @@ namespace lldb_private {
ProcessRunLock::ProcessRunLock() : m_running(false) {
int err = ::pthread_rwlock_init(&m_rwlock, NULL);
(void)err;
- //#if LLDB_CONFIGURATION_DEBUG
- // assert(err == 0);
- //#endif
}
ProcessRunLock::~ProcessRunLock() {
int err = ::pthread_rwlock_destroy(&m_rwlock);
(void)err;
- //#if LLDB_CONFIGURATION_DEBUG
- // assert(err == 0);
- //#endif
}
bool ProcessRunLock::ReadTryLock() {
More information about the lldb-commits
mailing list