summaryrefslogtreecommitdiffstats
path: root/src/if_tcl.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/if_tcl.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/if_tcl.c')
-rw-r--r--src/if_tcl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/if_tcl.c b/src/if_tcl.c
index 46378a27fb..a5b80d4954 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;