comparison src/optionstr.c @ 28451:e015d650ea9f v8.2.4750

patch 8.2.4750: small pieces of dead code Commit: https://github.com/vim/vim/commit/b836658a04ee5456deca2ee523de9efe51252da3 Author: =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com> Date: Thu Apr 14 20:43:56 2022 +0100 patch 8.2.4750: small pieces of dead code Problem: Small pieces of dead code. Solution: Remove the dead code. (Goc Dundar, closes https://github.com/vim/vim/issues/10190) Rename the qftf_cb struct member to avoid confusion.
author Bram Moolenaar <Bram@vim.org>
date Thu, 14 Apr 2022 21:45:02 +0200
parents 16bd027b039e
children 8f4f16efeeb3
comparison
equal deleted inserted replaced
28450:4d88ce67e7ad 28451:e015d650ea9f
1247 for (p = *varp; *p != NUL; ++p) 1247 for (p = *varp; *p != NUL; ++p)
1248 { 1248 {
1249 int x2 = -1; 1249 int x2 = -1;
1250 int x3 = -1; 1250 int x3 = -1;
1251 1251
1252 if (*p != NUL) 1252 p += mb_ptr2len(p);
1253 p += mb_ptr2len(p);
1254 if (*p != NUL) 1253 if (*p != NUL)
1255 x2 = *p++; 1254 x2 = *p++;
1256 if (*p != NUL) 1255 if (*p != NUL)
1257 { 1256 {
1258 x3 = mb_ptr2char(p); 1257 x3 = mb_ptr2char(p);