[master] 5b6c26c Silence a GCC warning

Poul-Henning Kamp phk at varnish-cache.org
Wed Jun 19 14:57:05 CEST 2013


commit 5b6c26c9f928b2acc1a42bd246ac8b16b91df70a
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Jun 19 12:56:51 2013 +0000

    Silence a GCC warning

diff --git a/bin/varnishd/cache/cache_fetch.c b/bin/varnishd/cache/cache_fetch.c
index b51cabb..6bba23e 100644
--- a/bin/varnishd/cache/cache_fetch.c
+++ b/bin/varnishd/cache/cache_fetch.c
@@ -449,6 +449,7 @@ static enum fetch_step
 vbf_stp_notyet(void)
 {
 	WRONG("Patience, grashopper, patience...");
+	NEEDLESS_RETURN(0);
 }
 
 /*--------------------------------------------------------------------
@@ -458,6 +459,7 @@ static enum fetch_step
 vbf_stp_done(void)
 {
 	WRONG("Just plain wrong");
+	NEEDLESS_RETURN(0);
 }
 
 /*--------------------------------------------------------------------



More information about the varnish-commit mailing list