Remove unnecessary local var declaration. Fixes #535

master
Jordan Harband 2014-09-26 23:22:38 -07:00
parent 5ad00f13fa
commit 4cf56ae186
1 changed files with 0 additions and 1 deletions

1
nvm.sh
View File

@ -808,7 +808,6 @@ nvm() {
mkdir -p "$NVM_DIR/alias"
if [ $# -le 2 ]; then
local DEST
local ALIAS
for ALIAS in "$NVM_DIR"/alias/"$2"*; do
if [ -e "$ALIAS" ]; then
DEST="$(cat "$ALIAS")"