Permalink
Browse files

patch 8.0.1134: superfluous call to syn_get_final_id()

Problem:    Superfluous call to syn_get_final_id().
Solution:   Remove it. (Ken Takata)
  • Loading branch information...
brammool committed Sep 22, 2017
1 parent f3d769a commit 76301956f0c079d893cfd927b11456328bed4f9b
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/syntax.c
  2. +2 −0 src/version.c
View
@@ -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;
}
View
@@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1134,
/**/
1133,
/**/

0 comments on commit 7630195

Please sign in to comment.