diff options
author | Michael Hudson-Doyle <michael.hudson@linaro.org> | 2013-10-02 13:46:17 +1300 |
---|---|---|
committer | Michael Hudson-Doyle <michael.hudson@linaro.org> | 2013-10-02 13:46:17 +1300 |
commit | f828c9d45c1e1929b4d0077c956061a9541f3827 (patch) | |
tree | b0b189bc9f7ed6dd0ae2216787638f3b80175939 /clients | |
parent | 165b8d22b40bf53a8882d2570d595cd703517ae1 (diff) | |
download | libmemcached-f828c9d45c1e1929b4d0077c956061a9541f3827.tar.gz |
squash a warning
Diffstat (limited to 'clients')
-rw-r--r-- | clients/ms_stats.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clients/ms_stats.c b/clients/ms_stats.c index f0af151e..eb0a885d 100644 --- a/clients/ms_stats.c +++ b/clients/ms_stats.c @@ -186,6 +186,8 @@ void ms_dump_stats(ms_stat_t *stat) } } +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunsafe-loop-optimizations" for (int i= min_non_zero; i <= max_non_zero; i++) { if ((i % 4) == 0) @@ -194,6 +196,7 @@ void ms_dump_stats(ms_stat_t *stat) } printf(" %6" PRIu64 , stat->dist[i]); } +#pragma GCC diagnostic pop printf("\n\n"); } /* ms_dump_stats */ |