projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Fix for 912571
[awesomized/libmemcached]
/
libhashkit
/
jenkins.cc
diff --git
a/libhashkit/jenkins.cc
b/libhashkit/jenkins.cc
index c2001cb5b88f88add482532a86c584d1c78d0735..5f85ad62a220c5b04f0708c5f37776c1e2155ad7 100644
(file)
--- a/
libhashkit/jenkins.cc
+++ b/
libhashkit/jenkins.cc
@@
-56,11
+56,10
@@
use a bitmask. For example, if you need only 10 bits, do
In which case, the hash table should have hashsize(10) elements.
*/
In which case, the hash table should have hashsize(10) elements.
*/
-uint32_t hashkit_jenkins(const char *key, size_t length, void *
context
)
+uint32_t hashkit_jenkins(const char *key, size_t length, void *)
{
uint32_t a,b,c; /* internal state */
union { const void *ptr; size_t i; } u; /* needed for Mac Powerbook G4 */
{
uint32_t a,b,c; /* internal state */
union { const void *ptr; size_t i; } u; /* needed for Mac Powerbook G4 */
- (void)context;
/* Set up the internal state */
a = b = c = 0xdeadbeef + ((uint32_t)length) + JENKINS_INITVAL;
/* Set up the internal state */
a = b = c = 0xdeadbeef + ((uint32_t)length) + JENKINS_INITVAL;