Changeset: 1dcbd756e605 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=1dcbd756e605
Modified Files:
        gdk/gdk_utils.mx
Branch: Dec2011
Log Message:

GDKinit: no need to check twice whether GDKnr_threads is not 0


diffs (13 lines):

diff --git a/gdk/gdk_utils.mx b/gdk/gdk_utils.mx
--- a/gdk/gdk_utils.mx
+++ b/gdk/gdk_utils.mx
@@ -1746,8 +1746,7 @@ GDKinit(opt *set, int setlen)
        if (GDKnr_threads == 0)
                GDKnr_threads = MT_check_nr_cores();
 #ifdef NATIVE_WIN32
-       if (GDKnr_threads)
-               GDK_mmap_minsize /= (GDKnr_threads? GDKnr_threads: 1);
+       GDK_mmap_minsize /= (GDKnr_threads ? GDKnr_threads : 1);
 #else
        /* WARNING: This unconditionally overwrites above settings, */
        /* incl. setting via MonetDB env. var. "gdk_mmap_minsize" ! */
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to