[master] 2a450be Polish

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Wed Nov 30 17:01:05 CET 2016


commit 2a450be4dfdf8817fd3bf0eee0a4fdaea3a81402
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Wed Nov 30 16:51:21 2016 +0100

    Polish

diff --git a/lib/libvcc/vcc_expr.c b/lib/libvcc/vcc_expr.c
index 0f6ef44..e48597b 100644
--- a/lib/libvcc/vcc_expr.c
+++ b/lib/libvcc/vcc_expr.c
@@ -1347,10 +1347,8 @@ vcc_Expr(struct vcc *tl, vcc_type_t fmt)
 		}
 		vcc_expr_fmt(tl->fb, tl->indent, e);
 		VSB_putc(tl->fb, '\n');
-	} else {
-		if (t1 != tl->t)
-			vcc_ErrWhere2(tl, t1, tl->t);
-	}
+	} else if (t1 != tl->t)
+		vcc_ErrWhere2(tl, t1, tl->t);
 	vcc_delete_expr(e);
 }
 



More information about the varnish-commit mailing list