summaryrefslogtreecommitdiffstats
path: root/src/misc1.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-03-30 18:47:01 +0100
committerBram Moolenaar <Bram@vim.org>2019-03-30 18:47:01 +0100
commitabab0b0fdd6535969447b03a4fffc1947918cf6c (patch)
tree2d43537a5dce8433ef2b2a37684c9e069392c592 /src/misc1.c
parentbd9bf266fccbf7b7f09e476e09b61f0133e914db (diff)
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.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/misc1.c b/src/misc1.c
index 5781aa5b39..960f63805d 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)