mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 08:56:29 +00:00
Fix a 'garbage value' warning found by Clang's static analyzer
- Initialize lists in paragraph_start() - Remove two dead stores
This commit is contained in:

committed by
Thiago de Arruda

parent
ef6933bd60
commit
6eece5895e
@@ -524,7 +524,6 @@ static char_u *nfa_get_match_text(nfa_state_T *start)
|
||||
|
||||
ret = alloc(len);
|
||||
if (ret != NULL) {
|
||||
len = 0;
|
||||
p = start->out->out; /* skip first char, it goes into regstart */
|
||||
s = ret;
|
||||
while (p->c > 0) {
|
||||
|
Reference in New Issue
Block a user