From 5e134e155c12746712bc75af5d3c03c4b3821f03 Mon Sep 17 00:00:00 2001 From: Sam Doran Date: Fri, 24 Apr 2026 16:03:16 -0400 Subject: [PATCH] Remove counter that is no longer used This was only used by the warning code, which was removed. --- bin/pyenv-virtualenvs | 3 --- 1 file changed, 3 deletions(-) diff --git a/bin/pyenv-virtualenvs b/bin/pyenv-virtualenvs index 6186714..33b106c 100755 --- a/bin/pyenv-virtualenvs +++ b/bin/pyenv-virtualenvs @@ -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