[master] 97bfb00 Add missing break to switch.

Martin Blix Grydeland martin at varnish-software.com
Mon Aug 8 15:04:09 CEST 2016


commit 97bfb00277c53e1197301fcfffd73479e5f72ccf
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date:   Mon Aug 8 14:34:14 2016 +0200

    Add missing break to switch.
    
    Spotted by: Coverity

diff --git a/bin/varnishhist/varnishhist.c b/bin/varnishhist/varnishhist.c
index 78f1b7b..e214117 100644
--- a/bin/varnishhist/varnishhist.c
+++ b/bin/varnishhist/varnishhist.c
@@ -268,6 +268,7 @@ accumulate(struct VSL_data *vsl, struct VSL_transaction * const pt[],
 				break;
 			case SLT_Timestamp:
 				tsp = VSL_CDATA(tr->c->rec.ptr);
+				break;
 			default:
 				if (tag != match_tag)
 					break;



More information about the varnish-commit mailing list