summaryrefslogtreecommitdiff
path: root/src/search.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-02-12 22:15:19 +0100
committerBram Moolenaar <Bram@vim.org>2020-02-12 22:15:19 +0100
commit4f5776c17cd86f904a7e2f92db297c73e28939b7 (patch)
tree6085e8230e216a7d78b99b39d14bd667a45474cf /src/search.c
parent3fb377fa78131004138b22a87afe33eeb7649b94 (diff)
downloadvim-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/search.c')
-rw-r--r--src/search.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/search.c b/src/search.c
index 08915578f..3b310dc2a 100644
--- a/src/search.c
+++ b/src/search.c
@@ -380,12 +380,6 @@ last_search_pattern(void)
}
#endif
- void
-free_last_pat(int idx)
-{
- VIM_CLEAR(spats[idx].pat);
-}
-
/*
* Return TRUE when case should be ignored for search pattern "pat".
* Uses the 'ignorecase' and 'smartcase' options.