1
0
forked from aniani/vim

patch 9.0.1403: unused variables and functions

Problem:    Unused variables and functions.
Solution:   Delete items and adjust #ifdefs. (Dominique Pellé, closes #12145)
This commit is contained in:
Dominique Pelle
2023-03-12 21:20:59 +00:00
committed by Bram Moolenaar
parent d13dd30240
commit e764d1b421
13 changed files with 38 additions and 26 deletions

View File

@@ -2948,6 +2948,7 @@ vim_regexec_string(
return result > 0;
}
#if defined(FEAT_SPELL) || defined(FEAT_EVAL) || defined(FEAT_X11) || defined(PROTO)
/*
* Note: "*prog" may be freed and changed.
* Return TRUE if there is a match, FALSE if not.
@@ -2968,6 +2969,7 @@ vim_regexec_prog(
*prog = regmatch.regprog;
return r;
}
#endif
/*
* Note: "rmp->regprog" may be freed and changed.