From 197ca58a9512acc5a18829a4eb0d7279d60a4f3f Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sat, 21 Jul 2018 20:32:00 -0400 Subject: [PATCH] Remove unused variable --- autoload/fugitive.vim | 1 - 1 file changed, 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index cbca07e..53ad9dd 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -217,7 +217,6 @@ function! fugitive#Init() abort call s:map('c', '', 'fnameescape(recall())', '') call s:map('n', 'y', ':call setreg(v:register, recall())', '') endif - let buffer = fugitive#buffer() if expand('%:p') =~# ':[\/][\/]' let &l:path = s:sub(&path, '^\.%(,|$)', '') endif