summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/control.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control.sh b/src/control.sh
index 79f7278..2a2d719 100644
--- a/src/control.sh
+++ b/src/control.sh
@@ -39,9 +39,11 @@ _parse_control_error()
parse_control()
{
+ local file="${1}"
local field_cb="${2}"
local paragraph_cb="${3}"
local req_fields="${4}"
+ local line_nr=
local in_paragraph=
local line=
local para_req_fields=
@@ -49,9 +51,7 @@ parse_control()
local name=
local value=
- file="${1}"
line_nr=0
-
in_paragraph='false'
while IFS='' read -r line; do