1
0
forked from aniani/vim

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

@@ -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.