summaryrefslogtreecommitdiffstats
path: root/patches/owfs-3.1p0/0001-Fix-build-issue-when-building-without-EXTENDED_RWLOC.patch
blob: a59a54476d0be095c801c08371fbd736ccfd3b16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: =?UTF-8?q?Johan=20Str=C3=B6m?= <johan@stromnet.se>
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();
 	}