Commit 3bf72484 authored by Dag Erling Smørgrav's avatar Dag Erling Smørgrav

Fix warnings on Linux


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3343 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 37622e9c
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment