branch: Remove spurious dirty var

This commit is contained in:
Christian Brabandt 2019-04-24 15:51:43 +02:00
parent 28bebd35ea
commit 9f193de600
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
1 changed files with 0 additions and 1 deletions

View File

@ -279,7 +279,6 @@ function! airline#extensions#branch#get_head()
let minwidth = empty(get(b:, 'airline_hunks', '')) ? 14 : 7
let head = airline#util#shorten(head, winwidth, minwidth)
let symbol = get(g:, 'airline#extensions#branch#symbol', g:airline_symbols.branch)
let dirty = get(b:, 'airline_branch_dirty', '')
return empty(head)
\ ? get(g:, 'airline#extensions#branch#empty_message', '')
\ : printf('%s%s', empty(symbol) ? '' : symbol.(g:airline_symbols.space), head)