[master] 910f501 Add useless break statement to please Coverity

Guillaume Quintard guillaume at varnish-software.com
Wed Aug 31 13:52:14 CEST 2016


commit 910f5016cf057320fd67b4070b36252783890426
Author: Guillaume Quintard <guillaume at varnish-software.com>
Date:   Tue Aug 30 10:41:15 2016 +0200

    Add useless break statement to please Coverity

diff --git a/bin/varnishtest/vtc_barrier.c b/bin/varnishtest/vtc_barrier.c
index 3498ee5..af4c502 100644
--- a/bin/varnishtest/vtc_barrier.c
+++ b/bin/varnishtest/vtc_barrier.c
@@ -342,6 +342,7 @@ barrier_sync(struct barrier *b, struct vtclog *vl)
 	case BARRIER_NONE:
 		vtc_log(vl, 0,
 		    "Barrier(%s) use error: not initialized", b->name);
+		break;
 	case BARRIER_COND:
 		barrier_cond_sync(b, vl);
 		break;



More information about the varnish-commit mailing list