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/if_tcl.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/if_tcl.c')
-rw-r--r-- | src/if_tcl.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/if_tcl.c b/src/if_tcl.c index 46378a27f..a5b80d495 100644 --- a/src/if_tcl.c +++ b/src/if_tcl.c @@ -811,9 +811,7 @@ bufselfcmd( pos = NULL; if (line[0] != '\0' && line[1] == '\0') - { pos = getmark(line[0], FALSE); - } if (pos == NULL) { Tcl_SetResult(interp, _("invalid mark name"), TCL_STATIC); @@ -1529,9 +1527,7 @@ tclsetdelcmd( if (reflist->interp == interp && reflist->vimobj == vimobj) { if (reflist->delcmd) - { Tcl_DecrRefCount(reflist->delcmd); - } Tcl_IncrRefCount(delcmd); reflist->delcmd = delcmd; return TCL_OK; |