From: Brian Aker Date: Mon, 20 Jun 2011 23:14:58 +0000 (-0700) Subject: Fix OSX compile issue. X-Git-Tag: 0.51~3^2~4 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=1012478a8a748a8be019d212b3cb2aab3c45f190;p=awesomized%2Flibmemcached Fix OSX compile issue. --- diff --git a/tests/mem_functions.cc b/tests/mem_functions.cc index 91a16cd2..dec17427 100644 --- a/tests/mem_functions.cc +++ b/tests/mem_functions.cc @@ -1880,7 +1880,7 @@ static test_return_t get_stats(memcached_st *memc) { char **stat_list= memcached_stat_get_keys(memc, memc_stat+x, &rc); test_compare(MEMCACHED_SUCCESS, rc); - for (char **ptr= stat_list; *ptr; ptr++); + for (char **ptr= stat_list; *ptr; ptr++) {}; free(stat_list); }