aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/insexpand.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/insexpand.c b/src/nvim/insexpand.c
index 513da0b403..736c7ed582 100644
--- a/src/nvim/insexpand.c
+++ b/src/nvim/insexpand.c
@@ -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);