summaryrefslogtreecommitdiff
path: root/src/normal.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/normal.c
parentbd9bf266fccbf7b7f09e476e09b61f0133e914db (diff)
downloadvim-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/normal.c')
-rw-r--r--src/normal.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/normal.c b/src/normal.c
index f99c7e3ec..6b3a78b10 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -811,9 +811,7 @@ getcount:
}
else if ((nv_cmds[idx].cmd_flags & NV_SSS)
&& (mod_mask & MOD_MASK_SHIFT))
- {
mod_mask &= ~MOD_MASK_SHIFT;
- }
}
}
@@ -3507,9 +3505,7 @@ find_ident_at_pos(
&& col <= (int)startcol
&& find_is_eval_item(ptr + col, &col, &bn, FORWARD))
)
- {
++col;
- }
return col;
}
@@ -4329,9 +4325,7 @@ find_decl(
* inside a comment, continue searching. For K&R style function
* declarations this skips the function header without types. */
if (!valid)
- {
CLEAR_POS(&found_pos);
- }
else
found_pos = curwin->w_cursor;
/* Remove SEARCH_START from flags to avoid getting stuck at one
@@ -9449,9 +9443,7 @@ nv_open(cmdarg_T *cap)
v_swap_corners(cap->cmdchar);
#ifdef FEAT_JOB_CHANNEL
else if (bt_prompt(curbuf))
- {
clearopbeep(cap->oap);
- }
#endif
else
n_opencmd(cap);