patch 9.1.1280: trailing additional semicolon in get_matches_in_str()
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>
diff --git a/src/evalfunc.c b/src/evalfunc.c
index f2c6999..2aa516d 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -9164,7 +9164,7 @@
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;