[experimental-ims] 84b1ca0 Gcc isn't always very smart...

Geoff Simmons geoff at varnish-cache.org
Mon Jan 9 21:52:42 CET 2012


commit 84b1ca029b635f47555495b46ef9153d3ac34567
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Fri Nov 25 11:20:40 2011 +0000

    Gcc isn't always very smart...

diff --git a/bin/varnishd/cache/cache_shmlog.c b/bin/varnishd/cache/cache_shmlog.c
index 893525b..a18a08e 100644
--- a/bin/varnishd/cache/cache_shmlog.c
+++ b/bin/varnishd/cache/cache_shmlog.c
@@ -311,6 +311,7 @@ vsm_cleaner(void *priv)
 		AZ(pthread_mutex_unlock(&vsm_mtx));
 		VTIM_sleep(1.1);
 	}
+	NEEDLESS_RETURN(NULL);
 }
 
 /*--------------------------------------------------------------------*/



More information about the varnish-commit mailing list