unsed static variable removed
authorAndrea Marchesini <baku@ippolita.net>
Tue, 20 Sep 2011 09:46:29 +0000 (11:46 +0200)
committerAndrea Marchesini <baku@ippolita.net>
Tue, 20 Sep 2011 09:46:29 +0000 (11:46 +0200)
src/hashtable.c

index 9a3f73b..1b0cd6c 100644 (file)
@@ -62,7 +62,6 @@ static size_t primes[] = {
     12582917, 25165843, 50331653, 100663319, 201326611, 402653189,
     805306457, 1610612741
 };
-static const size_t num_primes = sizeof(primes) / sizeof(size_t);
 
 static JSON_INLINE size_t num_buckets(hashtable_t *hashtable)
 {