Commit: patch 9.1.0887: Wrong expression in sign.c

4 views
Skip to first unread message

Christian Brabandt

unread,
Nov 25, 2024, 4:15:15 AM11/25/24
to vim...@googlegroups.com
patch 9.1.0887: Wrong expression in sign.c

Commit: https://github.com/vim/vim/commit/5757a2054702a7f15f1bdbde6d32834bc4f2faf6
Author: Christian Brabandt <c...@256bit.org>
Date: Mon Nov 25 09:59:20 2024 +0100

patch 9.1.0887: Wrong expression in sign.c

Problem: Wrong expression in sign.c
(after v9.1.0885)
Solution: remove the duplicate expression

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/sign.c b/src/sign.c
index 2ae74e4dd..e997a770a 100644
--- a/src/sign.c
+++ b/src/sign.c
@@ -2819,7 +2819,7 @@ sign_unplace_from_dict(typval_T *group_tv, dict_T *dict)

if (dict != NULL)
{
- dictitem_T *di = di = dict_find(dict, (char_u *)"buffer", -1);
+ dictitem_T *di = dict_find(dict, (char_u *)"buffer", -1);
if (di != NULL)
{
buf = get_buf_arg(&di->di_tv);
diff --git a/src/version.c b/src/version.c
index 6f5c7a498..9b6dd4198 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 887,
/**/
886,
/**/
Reply all
Reply to author
Forward
0 new messages