From 1012478a8a748a8be019d212b3cb2aab3c45f190 Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Mon, 20 Jun 2011 16:14:58 -0700 Subject: [PATCH] Fix OSX compile issue. --- tests/mem_functions.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.30.2