From: Bram Moolenaar Date: Fri, 22 Sep 2017 11:53:37 +0000 (+0200) Subject: patch 8.0.1134: superfluous call to syn_get_final_id() X-Git-Tag: v8.0.1134 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=76301956f0c079d893cfd927b11456328bed4f9b;p=vim patch 8.0.1134: superfluous call to syn_get_final_id() Problem: Superfluous call to syn_get_final_id(). Solution: Remove it. (Ken Takata) --- diff --git a/src/syntax.c b/src/syntax.c index d9a7b4fd8..e0736cb63 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -9556,7 +9556,7 @@ syn_name2attr(char_u *name) int id = syn_name2id(name); if (id != 0) - return syn_id2attr(syn_get_final_id(id)); + return syn_id2attr(id); return 0; } diff --git a/src/version.c b/src/version.c index 8901bb596..044b98c9c 100644 --- a/src/version.c +++ b/src/version.c @@ -761,6 +761,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1134, /**/ 1133, /**/