Commit ff6f677e7c2c05082dc59014f8065588c1de37fa

jeremy 2024-12-09T12:06:39

rwlock.c

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/libkc3/rwlock.c b/libkc3/rwlock.c
index 085050b..a3fdad4 100644
--- a/libkc3/rwlock.c
+++ b/libkc3/rwlock.c
@@ -30,14 +30,7 @@ void rwlock_clean (s_rwlock *rwlock)
 
 s_rwlock * rwlock_init (s_rwlock *rwlock)
 {
-  uw i;
   assert(rwlock);
-  if (false) {
-    i = (uw) rwlock->rwlock;
-    err_write_1("rwlock_init: ");
-    err_inspect_uw_hexadecimal(&i);
-    err_write_1("\n");
-  }
   if (pthread_rwlock_init(&rwlock->rwlock, NULL)) {
     err_puts("rwlock_init: pthread_rwlock_init");
     assert(! "rwlock_init: pthread_rwlock_init");