Changeset: f0c6d1378e03 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f0c6d1378e03
Modified Files:
        gdk/gdk_utils.c
Branch: Jul2017
Log Message:

Lock not used in static code analysis.


diffs (15 lines):

diff --git a/gdk/gdk_utils.c b/gdk/gdk_utils.c
--- a/gdk/gdk_utils.c
+++ b/gdk/gdk_utils.c
@@ -419,9 +419,11 @@ MT_init(void)
 static void THRinit(void);
 static void GDKlockHome(int farmid);
 
+#ifndef STATIC_CODE_ANALYSIS
 #ifndef NDEBUG
 static MT_Lock mallocsuccesslock MT_LOCK_INITIALIZER("mallocsuccesslock");
 #endif
+#endif
 
 int
 GDKinit(opt *set, int setlen)
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to