Hi, On Sat, Apr 9, 2022 at 11:47 PM Dominique Pellé <[email protected]> wrote:
> *@dpelle* commented on this pull request. > ------------------------------ > > In src/search.c > <https://github.com/vim/vim/pull/10136#discussion_r846724153>: > > > @@ -5050,16 +5050,3 @@ fuzzymatches_to_strmatches( > > return OK; > } > - > -/* > - * Free a list of fuzzy string matches. > - */ > - void > -fuzmatch_str_free(fuzmatch_str_T *fuzmatch, int count) > -{ > - if (count <= 0 || fuzmatch == NULL) > - return; > - while (count--) > - vim_free(fuzmatch[count].str); > - vim_free(fuzmatch); > -} > > To @yegappan <https://github.com/yegappan> : was this meant to be used? > > > Yes. This function can be used in a couple of places: cmdexpand.c:2881 and search.c:5035. Regards, Yegappan -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAAW7x7nXZoTUzLXjNmRnNzTh_GzP7ahp1t4JjyHdo45o3sFJew%40mail.gmail.com.
