From 1d3e97f2ab31f0a16cb2e1a456a9a0eeec168585 Mon Sep 17 00:00:00 2001 From: Eric Haszlakiewicz Date: Sun, 9 Jul 2017 15:13:02 -0700 Subject: [PATCH] Comment out the warning about racy random seed initialization in lh_char_hash(), if you're on a platform where it'll be triggered it just makes it a pain to build. --- linkhash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linkhash.c b/linkhash.c index 830caa8..5497061 100644 --- a/linkhash.c +++ b/linkhash.c @@ -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 }