remove some redundant code

This commit is contained in:
marty 2009-08-12 01:14:15 +12:00
parent df3485ec64
commit 1654ef820b

View File

@ -1739,13 +1739,7 @@ endfunction
function! s:Path.delete()
if self.isDirectory
let cmd = ""
if s:running_windows
"if we are runnnig windows then put quotes around the pathstring
let cmd = g:NERDTreeRemoveDirCmd . self.strForOS(1)
else
let cmd = g:NERDTreeRemoveDirCmd . self.strForOS(1)
endif
let success = system(cmd)
if v:shell_error != 0