[master] 9f4bb5a Gcc is silly...

Poul-Henning Kamp phk at varnish-cache.org
Thu Dec 15 11:24:05 CET 2011


commit 9f4bb5a36442811cf823cb977511fc0964d62cef
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu Dec 15 10:23:56 2011 +0000

    Gcc is silly...

diff --git a/bin/varnishd/cache/cache_mempool.c b/bin/varnishd/cache/cache_mempool.c
index 6f46a2a..ac4abf2 100644
--- a/bin/varnishd/cache/cache_mempool.c
+++ b/bin/varnishd/cache/cache_mempool.c
@@ -152,6 +152,7 @@ mpl_guard(void *priv)
 			mi = NULL;
 		}
 	}
+	NEEDLESS_RETURN(NULL);
 }
 
 /*---------------------------------------------------------------------



More information about the varnish-commit mailing list