From 01326cc9bec515972dc55759c51376f64e5a8631 Mon Sep 17 00:00:00 2001 From: Dalton Barreto Date: Mon, 16 Oct 2017 20:36:12 -0200 Subject: [PATCH] Removing redundant variable l:one_path --- autoload/vebugger/jdb.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/autoload/vebugger/jdb.vim b/autoload/vebugger/jdb.vim index bd4adc7..319fe3a 100644 --- a/autoload/vebugger/jdb.vim +++ b/autoload/vebugger/jdb.vim @@ -87,8 +87,7 @@ function! s:findFolderFromStackTrace(src,nameFromStackTrace,frameNumber) endif " If no such tag was found, try to find it using the src path. - for l:one_path in vebugger#util#listify(a:src) - let l:path=l:one_path + for l:path in vebugger#util#listify(a:src) for l:dirname in split(a:nameFromStackTrace,'\.') let l:nextPath=l:path.'/'.fnameescape(l:dirname) if empty(glob(l:nextPath))