mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
refactor(insexpand.c): remove duplicate assignment (#32410)
This commit is contained in:
parent
00d75a24cf
commit
6982106f8c
@ -859,7 +859,6 @@ static int ins_compl_add(char *const str, int len, char *const fname, char *cons
|
||||
// Allocate a new match structure.
|
||||
// Copy the values to the new match structure.
|
||||
match = xcalloc(1, sizeof(compl_T));
|
||||
match->cp_number = -1;
|
||||
match->cp_number = flags & CP_ORIGINAL_TEXT ? 0 : -1;
|
||||
match->cp_str = cbuf_to_string(str, (size_t)len);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user