diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-02-12 22:15:19 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-02-12 22:15:19 +0100 |
commit | 4f5776c17cd86f904a7e2f92db297c73e28939b7 (patch) | |
tree | 6085e8230e216a7d78b99b39d14bd667a45474cf /src/regexp.c | |
parent | 3fb377fa78131004138b22a87afe33eeb7649b94 (diff) | |
download | vim-git-4f5776c17cd86f904a7e2f92db297c73e28939b7.tar.gz |
patch 8.2.0250: test_clear_search_pat() is unusedv8.2.0250
Problem: test_clear_search_pat() is unused.
Solution: Remove the function. (Yegappan Lakshmanan, closes #5624)
Diffstat (limited to 'src/regexp.c')
-rw-r--r-- | src/regexp.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/regexp.c b/src/regexp.c index 7aeddb83c..ef3896c0a 100644 --- a/src/regexp.c +++ b/src/regexp.c @@ -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) |