Task #130741 - bash-completion-2.17-2.fc44/scan-results.err

back to task #130741
download
Error: SHELLCHECK_WARNING (CWE-563):
/etc/bash_completion.d/000_bash_completion_compat.bash:60:32: warning[SC2034]: have appears unused. Verify use (or export if used externally).
#   58|   {
#   59|       unset -v have
#   60|->     _comp_have_command "$1" && have=yes
#   61|   }
#   62|   

Error: SHELLCHECK_WARNING (CWE-670):
/etc/bash_completion.d/000_bash_completion_compat.bash:117:28: warning[SC2128]: Expanding an array without an index only gives the first element.
#  115|   _upvar()
#  116|   {
#  117|->     echo "bash_completion: $FUNCNAME: deprecated function," \
#  118|           "use _comp_upvars instead" >&2
#  119|       if unset -v "$1"; then # Unset & validate varname

Error: SHELLCHECK_WARNING (CWE-563):
/etc/bash_completion.d/000_bash_completion_compat.bash:259:21: warning[SC2034]: split appears unused. Verify use (or export if used externally).
#  257|                       split=true
#  258|                   else
#  259|->                     split=false
#  260|                   fi
#  261|                   break

Error: SHELLCHECK_WARNING (CWE-563):
/etc/bash_completion.d/000_bash_completion_compat.bash:465:13: warning[SC2034]: arg appears unused. Verify use (or export if used externally).
#  463|       for ((i = 1; i < COMP_CWORD; i++)); do
#  464|           if [[ ${COMP_WORDS[i]} != -* ]]; then
#  465|->             arg=${COMP_WORDS[i]}
#  466|               break
#  467|           fi