]> err.no Git - varnish/commitdiff
Fix warnings on Linux
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 20 Oct 2008 20:18:10 +0000 (20:18 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 20 Oct 2008 20:18:10 +0000 (20:18 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3343 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/lib/libjemalloc/jemalloc_linux.c

index 3b5d26551fa078629932735dc504b8e1bd6c3e58..a44297a2ba09c6c2716190f96af8a0c3c1a2305a 100644 (file)
@@ -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);