Removing redundant variable l:one_path
This commit is contained in:
parent
5865e3b28e
commit
01326cc9be
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user