projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Updated pandora-build files to version 0.175
[m6w6/libmemcached]
/
libhashkit
/
one_at_a_time.c
diff --git
a/libhashkit/one_at_a_time.c
b/libhashkit/one_at_a_time.c
index 579d0445b39fa65ebe9570c40e2dfc001778e27c..0c9ec31a03c37f3de6d43a33f28cdd4f9d1e022a 100644
(file)
--- a/
libhashkit/one_at_a_time.c
+++ b/
libhashkit/one_at_a_time.c
@@
-13,10
+13,11
@@
http://en.wikipedia.org/wiki/Jenkins_hash_function
#include "common.h"
#include "common.h"
-uint32_t hashkit_one_at_a_time(const char *key, size_t key_length, void *context
__attribute__((unused))
)
+uint32_t hashkit_one_at_a_time(const char *key, size_t key_length, void *context)
{
const char *ptr= key;
uint32_t value= 0;
{
const char *ptr= key;
uint32_t value= 0;
+ (void)context;
while (key_length--)
{
while (key_length--)
{