From bbda717e9304aa0734dde55b1839cd819875f1cf Mon Sep 17 00:00:00 2001 From: Michael Widenius Date: Mon, 2 Dec 2013 22:22:43 +0200 Subject: Fixed compiler errors and warnings extra/jemalloc/src/ctl.c: Fixed compiler warning include/mysql/service_logger.h: Fixed compile failure with clang compiler storage/maria/ma_check.c: Fixed compiler warning support-files/compiler_warnings.supp: Suppressed warnings in jemalloc tests/bug25714.c: Fixed compiler warning --- extra/jemalloc/src/ctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extra') diff --git a/extra/jemalloc/src/ctl.c b/extra/jemalloc/src/ctl.c index f2ef4e60611..7ce4fc4d573 100644 --- a/extra/jemalloc/src/ctl.c +++ b/extra/jemalloc/src/ctl.c @@ -1109,7 +1109,7 @@ epoch_ctl(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen) { int ret; - uint64_t newval; + uint64_t newval __attribute__((unused)); malloc_mutex_lock(&ctl_mtx); WRITE(newval, uint64_t); -- cgit v1.2.1