X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fplus.cpp;h=dc075478c9fdec7b9c4091c6912c2cd311b7b2ce;hb=49e9e4b85ebfe5f5cbe6f8aea4b6f3a2417a465b;hp=1e6642084c9491f5fdbd7d5d97d8a321956bd3da;hpb=f66517ccc835644cc09595aa135737eb85ec4cac;p=m6w6%2Flibmemcached diff --git a/tests/plus.cpp b/tests/plus.cpp index 1e664208..dc075478 100644 --- a/tests/plus.cpp +++ b/tests/plus.cpp @@ -26,8 +26,8 @@ extern "C" { test_return basic_master_key_test(memcached_st *memc); test_return mget_result_function(memcached_st *memc); test_return mget_test(memcached_st *memc); - memcached_return callback_counter(memcached_st *ptr __attribute__((unused)), - memcached_result_st *result __attribute__((unused)), + memcached_return callback_counter(memcached_st *, + memcached_result_st *, void *context); void *world_create(void); void world_destroy(void *p); @@ -103,8 +103,8 @@ test_return basic_master_key_test(memcached_st *memc) } /* Count the results */ -memcached_return callback_counter(memcached_st *ptr __attribute__((unused)), - memcached_result_st *result __attribute__((unused)), +memcached_return callback_counter(memcached_st *, + memcached_result_st *, void *context) { unsigned int *counter= static_cast(context);