[4.1] a1d65c1 Add useless break statement to please Coverity

PÃ¥l Hermunn Johansen hermunn at varnish-software.com
Mon Sep 12 15:48:17 CEST 2016


commit a1d65c1a4cfb23932f229717fcf06d29afffc0f2
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 a7bffc4..39b6be6 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