From caca6d6da28be37485c367ebcaa2abd46ec0ab34 Mon Sep 17 00:00:00 2001
From: P. J. McDermott <pj@pehjota.net>
Date: Wed, 20 Aug 2014 20:13:13 -0400
Subject: tests/common.sh: test_diff(): More local vars

---
(limited to 'tests')

diff --git a/tests/common.sh b/tests/common.sh
index 2d8ce9a..3c3398b 100644
--- a/tests/common.sh
+++ b/tests/common.sh
@@ -71,6 +71,11 @@ test_diff()
 {
 	local good_results="${1}"
 	local test_results="${2}"
+	local line_no=
+	local errors=
+	local good_line=
+	local test_line=
+	local line=
 
 	printf 'Diff:\n'
 	exec 3<<-EOF
--
cgit v0.9.1