Remove counter that is no longer used

This was only used by the warning code, which was removed.
This commit is contained in:
Sam Doran 2026-04-24 16:03:16 -04:00
parent 19efcdcd80
commit 5e134e155c
No known key found for this signature in database
GPG key ID: 01602635F94328AA

View file

@ -52,8 +52,6 @@ if [[ -z $bare ]]; then
IFS="$OLDIFS"
fi
num_versions=0
exists() {
local car="$1"
local cdar
@ -84,7 +82,6 @@ print_version() {
else
echo "${miss_prefix}${version_repr}"
fi
num_versions=$((num_versions + 1))
}
shopt -s dotglob