Remove enc_utf8,has_mbyte dead code

This commit is contained in:
Jan Edmund Lazo
2020-01-24 23:40:47 -05:00
parent 9d826700f7
commit 94ad6652f1
3 changed files with 76 additions and 125 deletions

View File

@@ -1802,9 +1802,10 @@ char_u *ml_get(linenr_T lnum)
/*
* Return pointer to position "pos".
*/
char_u *ml_get_pos(pos_T *pos)
char_u *ml_get_pos(const pos_T *pos)
FUNC_ATTR_NONNULL_ALL
{
return ml_get_buf(curbuf, pos->lnum, FALSE) + pos->col;
return ml_get_buf(curbuf, pos->lnum, false) + pos->col;
}
/*