[master] 5486482 Polish

Poul-Henning Kamp phk at FreeBSD.org
Tue Oct 11 22:31:05 CEST 2016


commit 54864828605461dd3c2a153af0830daba669e4e7
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Oct 11 20:28:44 2016 +0000

    Polish

diff --git a/lib/libvcc/vcc_compile.c b/lib/libvcc/vcc_compile.c
index 32f245a..b2b6cab 100644
--- a/lib/libvcc/vcc_compile.c
+++ b/lib/libvcc/vcc_compile.c
@@ -371,8 +371,10 @@ EmitInitFini(const struct vcc *tl)
 		VTAILQ_FOREACH_REVERSE(p, &tl->inifin, inifinhead, list) {
 			if (VSB_len(p->event)) {
 				Fc(tl, 0, "\t/* %u */\n", p->n);
-				Fc(tl, 0, "\tif (vgc_warmupstep >= %u &&\n", p->n);
-				Fc(tl, 0, "\t    %s != 0)\n", VSB_data(p->event));
+				Fc(tl, 0,
+				    "\tif (vgc_warmupstep >= %u &&\n", p->n);
+				Fc(tl, 0,
+				    "\t    %s != 0)\n", VSB_data(p->event));
 				Fc(tl, 0, "\t\tretval = 1;\n\n");
 			}
 			VSB_destroy(&p->event);
diff --git a/lib/libvcc/vcc_parse.c b/lib/libvcc/vcc_parse.c
index 64ac0d9..53bc29e 100644
--- a/lib/libvcc/vcc_parse.c
+++ b/lib/libvcc/vcc_parse.c
@@ -331,6 +331,7 @@ vcc_Parse(struct vcc *tl)
 	struct toplev *tp;
 	struct token *tok;
 
+	AZ(tl->indent);
 	if (tl->t->tok != ID || !vcc_IdIs(tl->t, "vcl")) {
 		VSB_printf(tl->sb,
 		    "VCL version declaration missing\n"
@@ -395,4 +396,5 @@ vcc_Parse(struct vcc *tl)
 			return;
 		}
 	}
+	AZ(tl->indent);
 }



More information about the varnish-commit mailing list