From: =?UTF-8?q?Johan=20Str=C3=B6m?= Date: Mon, 18 May 2015 20:03:19 +0200 Subject: [PATCH] Fix build issue when building without EXTENDED_RWLOCK_DEBUG --- module/owlib/src/c/ow_rwlock.c | 1 - 1 file changed, 1 deletion(-) diff --git a/module/owlib/src/c/ow_rwlock.c b/module/owlib/src/c/ow_rwlock.c index 60c9dd05004d..4aa28930a994 100644 --- a/module/owlib/src/c/ow_rwlock.c +++ b/module/owlib/src/c/ow_rwlock.c @@ -25,7 +25,6 @@ void my_rwlock_init(my_rwlock_t * rwlock) int semrc; semrc = pthread_rwlock_init(rwlock, NULL); if(semrc != 0) { - if ( LOCK_DEBUG("semrc=%d [%s] RWLOCK INIT", semrc, strerror(errno)); debug_crash(); }