r3593 - branches/2.0/varnish-cache/lib/libjemalloc

tfheen at projects.linpro.no tfheen at projects.linpro.no
Thu Feb 5 10:50:34 CET 2009


Author: tfheen
Date: 2009-02-05 10:50:34 +0100 (Thu, 05 Feb 2009)
New Revision: 3593

Modified:
   branches/2.0/varnish-cache/lib/libjemalloc/jemalloc_linux.c
Log:
Merge r3343: Fix warnings on Linux



Modified: branches/2.0/varnish-cache/lib/libjemalloc/jemalloc_linux.c
===================================================================
--- branches/2.0/varnish-cache/lib/libjemalloc/jemalloc_linux.c	2009-02-05 09:46:55 UTC (rev 3592)
+++ branches/2.0/varnish-cache/lib/libjemalloc/jemalloc_linux.c	2009-02-05 09:50:34 UTC (rev 3593)
@@ -2029,6 +2029,7 @@
 {
 	void *ret;
 
+	(void)zero; /* XXX */
 	assert(size != 0);
 	assert((size & chunksize_mask) == 0);
 
@@ -3045,6 +3046,7 @@
 {
 	void *ret;
 
+	(void)arena; /* XXX */
 	assert(run->magic == ARENA_RUN_MAGIC);
 	assert(run->nfree > 0);
 



More information about the varnish-commit mailing list