From f5951dd0cfeb37eb18fd62e14edc902a2c308c1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20PERRIN?= Date: Tue, 4 Jun 2024 22:47:50 +0200 Subject: [PATCH] Declare variable "line" locally (#101) Fixes #100 --- autoenv.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/autoenv.zsh b/autoenv.zsh index fe97d74..97468a1 100644 --- a/autoenv.zsh +++ b/autoenv.zsh @@ -162,6 +162,7 @@ _autoenv_stack_entered_contains() { # Internal function for debug output. {{{ _autoenv_debug() { local level=${2:-1} + local line if (( AUTOENV_DEBUG < level )); then return fi