Changeset: a9ecc121de0f for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a9ecc121de0f
Modified Files:
        gdk/gdk_system.c
Branch: Oct2014
Log Message:

Function only used inside assert.


diffs (20 lines):

diff --git a/gdk/gdk_system.c b/gdk/gdk_system.c
--- a/gdk/gdk_system.c
+++ b/gdk/gdk_system.c
@@ -484,6 +484,8 @@ find_posthread_locked(pthread_t tid)
        return NULL;
 }
 
+#ifndef NDEBUG
+/* only used in an assert */
 static struct posthread *
 find_posthread(pthread_t tid)
 {
@@ -494,6 +496,7 @@ find_posthread(pthread_t tid)
        pthread_mutex_unlock(&posthread_lock);
        return p;
 }
+#endif
 
 static void
 MT_thread_sigmask(sigset_t * new_mask, sigset_t * orig_mask)
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to