projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Cleans up the assert and some other things that Fedora 15 found.
[m6w6/libmemcached]
/
tests
/
hash_plus.cc
diff --git
a/tests/hash_plus.cc
b/tests/hash_plus.cc
index 8821d74a0626a690c4cfe0b4d5b4c673734a3c55..b355fe57af7608989f24dd0e472f8955883d1961 100644
(file)
--- a/
tests/hash_plus.cc
+++ b/
tests/hash_plus.cc
@@
-63,13
+63,10
@@
static test_return_t assign_test(void *obj)
return TEST_SUCCESS;
}
return TEST_SUCCESS;
}
-static test_return_t digest_test(void *
obj
)
+static test_return_t digest_test(void *)
{
Hashkit hashk;
{
Hashkit hashk;
- uint32_t value;
- (void)obj;
-
- value= hashk.digest("Foo", sizeof("Foo"));
+ test_true(hashk.digest("Foo", sizeof("Foo")));
return TEST_SUCCESS;
}
return TEST_SUCCESS;
}