summaryrefslogtreecommitdiff
path: root/extra/jemalloc
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2013-12-02 22:22:43 +0200
committerMichael Widenius <monty@askmonty.org>2013-12-02 22:22:43 +0200
commitbbda717e9304aa0734dde55b1839cd819875f1cf (patch)
tree097c922b7a652ea5cb96e83686e670e017ef3711 /extra/jemalloc
parent5a8bd446adf3d1a53b8bc4dd88b3830bf0270865 (diff)
downloadmariadb-git-bbda717e9304aa0734dde55b1839cd819875f1cf.tar.gz
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
Diffstat (limited to 'extra/jemalloc')
-rw-r--r--extra/jemalloc/src/ctl.c2
1 files changed, 1 insertions, 1 deletions
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);