]> granicus.if.org Git - json-c/commitdiff
Comment out the warning about racy random seed initialization in lh_char_hash(),...
authorEric Haszlakiewicz <erh+git@nimenees.com>
Sun, 9 Jul 2017 22:13:02 +0000 (15:13 -0700)
committerEric Haszlakiewicz <erh+git@nimenees.com>
Sun, 9 Jul 2017 22:13:02 +0000 (15:13 -0700)
linkhash.c

index 830caa83573e4c9357dae253c94147c98184396f..5497061a8a15a11ef637377564470a53f3046ad3 100644 (file)
@@ -477,7 +477,7 @@ static unsigned long lh_char_hash(const void *k)
 #elif defined _MSC_VER || defined __MINGW32__
                InterlockedCompareExchange(&random_seed, seed, -1);
 #else
-#warning "racy random seed initializtion if used by multiple threads"
+//#warning "racy random seed initializtion if used by multiple threads"
                random_seed = seed; /* potentially racy */
 #endif
        }