Merge trunk.
[awesomized/libmemcached] / tests / hashkit_functions.cc
index 4ddadd9e58f33cef318bc28c68d7acd78848a61a..c8ca52414a9553f39f95ff56a61583f67b7d4beb 100644 (file)
@@ -347,8 +347,7 @@ test_st allocation[]= {
 
 static test_return_t hashkit_digest_test(hashkit_st *hashk)
 {
-  uint32_t value;
-  value= hashkit_digest(hashk, "a", sizeof("a"));
+  test_true(hashkit_digest(hashk, "a", sizeof("a")));
 
   return TEST_SUCCESS;
 }