0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.2.0250: test_clear_search_pat() is unused

Problem:    test_clear_search_pat() is unused.
Solution:   Remove the function. (Yegappan Lakshmanan, closes #5624)
This commit is contained in:
Bram Moolenaar
2020-02-12 22:15:19 +01:00
parent 3fb377fa78
commit 4f5776c17c
12 changed files with 6 additions and 39 deletions

View File

@@ -2663,15 +2663,6 @@ free_regexp_stuff(void)
}
#endif
/*
* Free the previously used substitute search pattern.
*/
void
free_regexp_prev_sub(void)
{
VIM_CLEAR(reg_prev_sub);
}
#ifdef FEAT_EVAL
static void
report_re_switch(char_u *pat)