[4.1] fc5b473 Nitpicking

Poul-Henning Kamp phk at FreeBSD.org
Fri Sep 4 15:54:52 CEST 2015


commit fc5b4732bf86d7cccb52c4f5269f2d89a0fd39ff
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Aug 3 07:06:17 2015 +0000

    Nitpicking

diff --git a/flint.lnt b/flint.lnt
index 434c54a..c6b741e 100644
--- a/flint.lnt
+++ b/flint.lnt
@@ -51,6 +51,7 @@
 -emacro(731, assert)		// booelan arg to eq/non-eq
 -emacro(731, xxxassert)		// arg to eq/non-eq
 -emacro(527, WRONG)		// unreachable code
+-emacro(774, VALID_OBJ)		// boolean always true
 
 ///////////////////////////////////////////////////////////////////////
 // <vsb.h>
diff --git a/lib/libvcc/vmodtool.py b/lib/libvcc/vmodtool.py
index 4db94a3..01de3a7 100755
--- a/lib/libvcc/vmodtool.py
+++ b/lib/libvcc/vmodtool.py
@@ -743,8 +743,8 @@ class FileSection(object):
 		if re.match("['\"]", l):
 			m = re.match("(['\"]).*?(\\1)", l)
 			if not m:
-			        raise FormatError("Unbalanced quote",
-					  "Unbalanced quote on line %d" % ln)
+				raise FormatError("Unbalanced quote",
+				    "Unbalanced quote on line %d" % ln)
 			self.tl.append(Token(ln, 0, l[:m.end()]))
 			self.l.insert(0, (ln, l[m.end():]))
 			return



More information about the varnish-commit mailing list