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:
committed by
Bram Moolenaar
parent
d13dd30240
commit
e764d1b421
@@ -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.
|
||||
|
Reference in New Issue
Block a user