diff options
author | Eric Haszlakiewicz <erh+git@nimenees.com> | 2017-07-09 15:13:02 -0700 |
---|---|---|
committer | Eric Haszlakiewicz <erh+git@nimenees.com> | 2017-07-09 15:13:02 -0700 |
commit | 1d3e97f2ab31f0a16cb2e1a456a9a0eeec168585 (patch) | |
tree | 8000a5ee70c127087ecd9b457d7b3afd171e796b /linkhash.c | |
parent | f7a44ad1017e3b144a2e40ddc5b31153f70253bc (diff) | |
download | json-c-1d3e97f2ab31f0a16cb2e1a456a9a0eeec168585.tar.gz |
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.
Diffstat (limited to 'linkhash.c')
-rw-r--r-- | linkhash.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |