[master] 97be245 Get rid of the unused "count" field in vrt_ref.

Poul-Henning Kamp phk at FreeBSD.org
Wed Jun 17 11:39:04 CEST 2015


commit 97be2458dc680490187a29e380113c61ce2e6f68
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Jun 17 09:37:56 2015 +0000

    Get rid of the unused "count" field in vrt_ref.

diff --git a/include/vrt.h b/include/vrt.h
index 2ac390e..bd816e0 100644
--- a/include/vrt.h
+++ b/include/vrt.h
@@ -199,7 +199,6 @@ struct vrt_ref {
 	unsigned	offset;
 	unsigned	line;
 	unsigned	pos;
-	unsigned	count;
 	const char	*token;
 };
 
diff --git a/lib/libvcc/vcc_compile.c b/lib/libvcc/vcc_compile.c
index f21045b..511f20e 100644
--- a/lib/libvcc/vcc_compile.c
+++ b/lib/libvcc/vcc_compile.c
@@ -312,7 +312,7 @@ EmitCoordinates(const struct vcc *tl, struct vsb *vsb)
 				pos++;
 
 		}
-		VSB_printf(vsb, "  [%3u] = { %u, %8tu, %4u, %3u, 0, ",
+		VSB_printf(vsb, "  [%3u] = { %u, %8tu, %4u, %3u, ",
 		    t->cnt, sp->idx, t->b - sp->b, lin, pos + 1);
 		if (t->tok == CSRC)
 			VSB_printf(vsb, " \"C{\"},\n");



More information about the varnish-commit mailing list