projects
/
jansson.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4cc77c
)
unsed static variable removed
author
Andrea Marchesini
<baku@ippolita.net>
Tue, 20 Sep 2011 09:46:29 +0000
(11:46 +0200)
committer
Andrea Marchesini
<baku@ippolita.net>
Tue, 20 Sep 2011 09:46:29 +0000
(11:46 +0200)
src/hashtable.c
patch
|
blob
|
history
diff --git
a/src/hashtable.c
b/src/hashtable.c
index
9a3f73b
..
1b0cd6c
100644
(file)
--- a/
src/hashtable.c
+++ b/
src/hashtable.c
@@
-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)
{