[master] c2b0624 Clarify that usage() doesn't return for Coverity.

Poul-Henning Kamp phk at FreeBSD.org
Mon Feb 13 20:16:05 CET 2017


commit c2b06248db1dca5af2e697116debde0f6eec0d09
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Feb 13 19:14:42 2017 +0000

    Clarify that usage() doesn't return for Coverity.

diff --git a/bin/varnishlog/varnishlog.c b/bin/varnishlog/varnishlog.c
index f4415a1..6fd36b4 100644
--- a/bin/varnishlog/varnishlog.c
+++ b/bin/varnishlog/varnishlog.c
@@ -62,7 +62,7 @@ static struct log {
 	FILE		*fo;
 } LOG;
 
-static void
+static void __attribute__((__noreturn__))
 usage(int status)
 {
 	const char **opt;



More information about the varnish-commit mailing list