From: des Date: Mon, 20 Oct 2008 20:18:10 +0000 (+0000) Subject: Fix warnings on Linux X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=259e8d8bbe2c8d20a3f917fbfedc86163fd9d612;p=varnish Fix warnings on Linux git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3343 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/lib/libjemalloc/jemalloc_linux.c b/varnish-cache/lib/libjemalloc/jemalloc_linux.c index 3b5d2655..a44297a2 100644 --- a/varnish-cache/lib/libjemalloc/jemalloc_linux.c +++ b/varnish-cache/lib/libjemalloc/jemalloc_linux.c @@ -2029,6 +2029,7 @@ chunk_alloc(size_t size, bool zero) { void *ret; + (void)zero; /* XXX */ assert(size != 0); assert((size & chunksize_mask) == 0); @@ -3045,6 +3046,7 @@ arena_bin_malloc_easy(arena_t *arena, arena_bin_t *bin, arena_run_t *run) { void *ret; + (void)arena; /* XXX */ assert(run->magic == ARENA_RUN_MAGIC); assert(run->nfree > 0);