remove a couple of useless lines

This commit is contained in:
marty 2009-10-08 16:15:53 +13:00
parent e899bed4d7
commit 93a0a422b4

View File

@ -461,7 +461,6 @@ endfunction
"FUNCTION: KeyMap.Create(options) {{{3 "FUNCTION: KeyMap.Create(options) {{{3
function! s:KeyMap.Create(options) function! s:KeyMap.Create(options)
let newKeyMap = {}
let newKeyMap = copy(self) let newKeyMap = copy(self)
let newKeyMap.key = a:options['key'] let newKeyMap.key = a:options['key']
let newKeyMap.quickhelpText = a:options['quickhelpText'] let newKeyMap.quickhelpText = a:options['quickhelpText']
@ -1047,7 +1046,6 @@ function! s:TreeFileNode.New(path)
if a:path.isDirectory if a:path.isDirectory
return s:TreeDirNode.New(a:path) return s:TreeDirNode.New(a:path)
else else
let newTreeNode = {}
let newTreeNode = copy(self) let newTreeNode = copy(self)
let newTreeNode.path = a:path let newTreeNode.path = a:path
let newTreeNode.parent = {} let newTreeNode.parent = {}