diff options
-rw-r--r-- | src/control.sh | 4 |
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 |