Remove dead code

This commit is contained in:
Jan Edmund Lazo
2019-10-06 21:22:02 -04:00
parent 09232958ff
commit 97cdfdcde2
2 changed files with 23 additions and 25 deletions

View File

@@ -723,7 +723,7 @@ static int diff_write_buffer(buf_T *buf, diffin_T *din)
char_u cbuf[MB_MAXBYTES + 1];
c = PTR2CHAR(s);
c = enc_utf8 ? utf_fold(c) : TOLOWER_LOC(c);
c = utf_fold(c);
orig_len = utfc_ptr2len(s);
if (utf_char2bytes(c, cbuf) != orig_len) {
// TODO(Bram): handle byte length difference