From 4f5776c17cd86f904a7e2f92db297c73e28939b7 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 12 Feb 2020 22:15:19 +0100 Subject: 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) --- src/regexp.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/regexp.c') 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) -- cgit v1.2.1