[4.1] d79d215 Move from NEEDLESS back to NEEDLESS_RETURN

Martin Blix Grydeland martin at varnish-software.com
Thu Apr 6 14:56:05 CEST 2017


commit d79d215826b392d6209b7cba9a704e3288e369b7
Author: Dridi Boukelmoune <dridi at varnish-software.com>
Date:   Wed Mar 8 13:39:58 2017 +0100

    Move from NEEDLESS back to NEEDLESS_RETURN

diff --git a/lib/libvarnishapi/vsl_query.c b/lib/libvarnishapi/vsl_query.c
index 5f6a84d..bd7f9a4 100644
--- a/lib/libvarnishapi/vsl_query.c
+++ b/lib/libvarnishapi/vsl_query.c
@@ -112,7 +112,7 @@ vslq_test_vxid(const struct vex *vex, const struct VSL_transaction *trans)
 	default:	WRONG("Bad vxid expression token");
 	}
 
-	NEEDLESS(return (0));
+	NEEDLESS_RETURN(0);
 }
 
 static int



More information about the varnish-commit mailing list