1
0
forked from aniani/vim

patch 8.1.1086: too many curly braces

Problem:    Too many curly braces.
Solution:   Remove curly braces where they are not needed. (Hirohito Higashi,
            closes #3982)
This commit is contained in:
Bram Moolenaar
2019-03-30 18:47:01 +01:00
parent bd9bf266fc
commit abab0b0fdd
42 changed files with 26 additions and 189 deletions

View File

@@ -1949,9 +1949,7 @@ get_last_leader_offset(char_u *line, char_u **flags)
string = vim_strchr(part_buf, ':');
if (string == NULL) /* If everything is fine, this cannot actually
* happen. */
{
continue;
}
*string++ = NUL; /* Isolate flags from string. */
com_leader = string;
@@ -4093,9 +4091,7 @@ expand_env_esc(
|| (*src == '%' && *tail != '%')
#endif
))
{
*var++ = *tail++;
}
}
#if defined(MSWIN) || defined(UNIX)