Removing redundant variable l:one_path

This commit is contained in:
Dalton Barreto 2017-10-16 20:36:12 -02:00
parent 5865e3b28e
commit 01326cc9be
No known key found for this signature in database
GPG Key ID: 05570C19E57F6BB4

View File

@ -87,8 +87,7 @@ function! s:findFolderFromStackTrace(src,nameFromStackTrace,frameNumber)
endif endif
" If no such tag was found, try to find it using the src path. " If no such tag was found, try to find it using the src path.
for l:one_path in vebugger#util#listify(a:src) for l:path in vebugger#util#listify(a:src)
let l:path=l:one_path
for l:dirname in split(a:nameFromStackTrace,'\.') for l:dirname in split(a:nameFromStackTrace,'\.')
let l:nextPath=l:path.'/'.fnameescape(l:dirname) let l:nextPath=l:path.'/'.fnameescape(l:dirname)
if empty(glob(l:nextPath)) if empty(glob(l:nextPath))