From 0b1146b6aef61a4369922b67a29e42c992f5de6b Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Sun, 26 Mar 2023 12:20:50 +0200
Subject: Improve my relationship with shellcheck
---
lib/vendor/bpt.bash | 3 +++
1 file changed, 3 insertions(+)
(limited to 'lib/vendor/bpt.bash')
diff --git a/lib/vendor/bpt.bash b/lib/vendor/bpt.bash
index 08d15b2..cda1030 100644
--- a/lib/vendor/bpt.bash
+++ b/lib/vendor/bpt.bash
@@ -189,6 +189,7 @@ bpt.__lr_parse() (
# and|or|if|elif|else|for|in|include:
# id: [[:alpha:]_][[:alnum:]_]*
bpt.scan() (
+ # shellcheck disable=SC2030
local -r ld="$1" rd="$2" error_fn="${3:-__error}"
bpt.__test_delims "$ld" "$rd" || return 1
@@ -222,7 +223,9 @@ bpt.scan() (
local quote=''
# Location trackers
+ # shellcheck disable=SC2030
local num_lines=0
+ # shellcheck disable=SC2030
local num_bytes=0
# String processing tracker & buffer.
--
cgit v1.1