Fix OSX compile issue.
authorBrian Aker <brian@gir-3.local>
Mon, 20 Jun 2011 23:14:58 +0000 (16:14 -0700)
committerBrian Aker <brian@gir-3.local>
Mon, 20 Jun 2011 23:14:58 +0000 (16:14 -0700)
tests/mem_functions.cc

index 91a16cd2a325251f1e55feeb723504b6af9f0933..dec1742757b680b81a64b00147b7f25f145a7ce4 100644 (file)
@@ -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);
  }