Remove redundant shellcheck switches

This commit is contained in:
Nick Chambers 2021-07-19 09:35:35 -05:00
parent 7655bc56a3
commit 85358fb674
1 changed files with 0 additions and 4 deletions

4
rowbot
View File

@ -1070,8 +1070,6 @@ while net_recv line; do
while [[ $line ]]; do
if [[ ${line:0:1} = : ]]; then
msg_args+=( "${line:1}" ) msg[words]=yes line=
# Code using this array will be implemented later.
# shellcheck disable=SC2034
read -ra msg_words <<< "${msg_args[-1]}"
log_debug "parsed final argument %s" "${msg_args[-1]}"
else
@ -1114,8 +1112,6 @@ while net_recv line; do
action=${msg_args[-1]#"${config[trigger]}"} action=${action%% *}
action_line=${msg_args[-1]#"$trigger$action"}
read -r action_line <<< "$action_line"
# This variable will be used in later code.
# shellcheck disable=SC2034
read -ra action_args <<< "$action_line"
plugin_run "$action"
fi