diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-03-30 18:47:01 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-03-30 18:47:01 +0100 |
commit | abab0b0fdd6535969447b03a4fffc1947918cf6c (patch) | |
tree | 2d43537a5dce8433ef2b2a37684c9e069392c592 /src/misc1.c | |
parent | bd9bf266fccbf7b7f09e476e09b61f0133e914db (diff) | |
download | vim-git-abab0b0fdd6535969447b03a4fffc1947918cf6c.tar.gz |
patch 8.1.1086: too many curly bracesv8.1.1086
Problem: Too many curly braces.
Solution: Remove curly braces where they are not needed. (Hirohito Higashi,
closes #3982)
Diffstat (limited to 'src/misc1.c')
-rw-r--r-- | src/misc1.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/misc1.c b/src/misc1.c index 5781aa5b3..960f63805 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -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) |