[master] 6825ff4 Revert "Add missing break to switch."

Nils Goroll nils.goroll at uplex.de
Mon Aug 8 15:23:09 CEST 2016


commit 6825ff4bd388187914768b0c507128dda9830fde
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Mon Aug 8 15:17:37 2016 +0200

    Revert "Add missing break to switch."
    
    For match_tag == SLT_Timestamp, we'd miss a match otherwise.
    Add the missing /* FALLTHROUGH */
    
    This reverts commit 97bfb00277c53e1197301fcfffd73479e5f72ccf.

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



More information about the varnish-commit mailing list