]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1280: trailing additional semicolon in get_matches_in_str() v9.1.1280
authorSatoru Kitaguchi <rule.the.fate.myfirststory@gmail.com>
Sun, 6 Apr 2025 14:04:59 +0000 (16:04 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 6 Apr 2025 14:04:59 +0000 (16:04 +0200)
Problem:  trailing additional semicolon in get_matches_in_str()
          (Hirohito Higashi)
Solution: remove it (Satoru Kitaguchi)

closes: #17066

Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Satoru Kitaguchi <rule.the.fate.myfirststory@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/evalfunc.c
src/version.c

index f2c69999aec20a7e28cbded1e017883d03032052..2aa516dc40c7cbe9b06c70ad1db2c85e334ab29e 100644 (file)
@@ -9164,7 +9164,7 @@ get_matches_in_str(
        if (d == NULL)
            return FAIL;
        if (list_append_dict(mlist, d) == FAIL)
-           return FAIL;;
+           return FAIL;
 
        if (dict_add_number(d, matchbuf ? "lnum" : "idx", idx) == FAIL)
            return FAIL;
index eba6725deda7b0e662cb423149cd2ab5599e9f99..50743e051963fea5b9498ac0922fca6cafc83d15 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1280,
 /**/
     1279,
 /**/