diff options
author | zeertzjq <zeertzjq@outlook.com> | 2025-02-12 10:31:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-12 10:31:41 +0800 |
commit | 6982106f8ca5ceaa00c9909e64cc94d2794b9143 (patch) | |
tree | af93736eb13fd5dc0779734cb2c7f8daa7f774ad | |
parent | 00d75a24cfb74e8f35d73ebb0e59a7b9248950c1 (diff) | |
download | rneovim-6982106f8ca5ceaa00c9909e64cc94d2794b9143.tar.gz rneovim-6982106f8ca5ceaa00c9909e64cc94d2794b9143.tar.bz2 rneovim-6982106f8ca5ceaa00c9909e64cc94d2794b9143.zip |
refactor(insexpand.c): remove duplicate assignment (#32410)
-rw-r--r-- | src/nvim/insexpand.c | 1 |
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); |